CMakeLists.txt 799 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
Felix Weinhardt's avatar
Felix Weinhardt committed
5
              COMPILE_DEFINITIONS TYPETAG=ExerciseFluidsystemTwoP
6
              COMPILE_ONLY) # for testing purposes, ignore for the exercise
7
8

#part b: 2p2cproblem
9
10
dune_add_test(NAME exercise-fluidsystem_b
              SOURCES exercise-fluidsystem.cc
Felix Weinhardt's avatar
Felix Weinhardt committed
11
              COMPILE_DEFINITIONS TYPETAG=ExerciseFluidsystemTwoPTwoC
12
              COMPILE_ONLY) # for testing purposes, ignore for the exercise
13

14
# add exercises to the common target
15
add_dependencies(test_exercises exercise-fluidsystem_a exercise-fluidsystem_b)
16

17
# add a symlink for each input file
18
add_input_file_links()
19
20
# add a symlink for the grids folder
dune_symlink_to_source_files(FILES grids)