CMakeLists.txt 825 Bytes
Newer Older
1
2
# executables for exercise part a & b
#part a: 2pproblem
3
4
dune_add_test(NAME exercise-fluidsystem_a
              SOURCES exercise-fluidsystem.cc
5
              COMPILE_DEFINITIONS TYPETAG=ExerciseThreeTwoPTypeTag
6
              COMPILE_ONLY # for testing purposes, ignore for the exercise
7
              CMD_ARGS exercise-fluidsystem_a.input)
8
9

#part b: 2p2cproblem
10
11
dune_add_test(NAME exercise-fluidsystem_b
              SOURCES exercise-fluidsystem.cc
12
              COMPILE_DEFINITIONS TYPETAG=ExerciseThreeTwoPTwoCTypeTag
13
              COMPILE_ONLY # for testing purposes, ignore for the exercise
14
              CMD_ARGS exercise-fluidsystem_b.input)
15

16
# add exercises to the common target
17
add_dependencies(test_exercises exercise-fluidsystem_a exercise-fluidsystem_b)
18
19
20

# add symlinks for the input files
add_input_file_links()