CMakeLists.txt 1.01 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
add_input_file_links()

dune_add_test(NAME orig_ex_interface_coupling_ff-pm
              SOURCES ex_interface_coupling_ff-pm.cc
              COMPILE_DEFINITIONS EXNUMBER=0
              CMD_ARGS ex_interface_coupling_ff-pm.input)

dune_add_test(NAME sol_a_ex_interface_coupling_ff-pm
              SOURCES ex_interface_coupling_ff-pm.cc
              COMPILE_DEFINITIONS EXNUMBER=1
              CMD_ARGS ex_interface_coupling_ff-pm.input)

dune_add_test(NAME sol_b_ex_interface_coupling_ff-pm
              SOURCES ex_interface_coupling_ff-pm.cc
              COMPILE_DEFINITIONS EXNUMBER=2
              CMD_ARGS ex_interface_coupling_ff-pm.input)

dune_add_test(NAME sol_c_ex_interface_coupling_ff-pm
              SOURCES ex_interface_coupling_ff-pm.cc
              COMPILE_DEFINITIONS EXNUMBER=3
              CMD_ARGS ex_interface_coupling_ff-pm.input)


# add exercise to the common target
add_dependencies(test_exercises sol_a_ex_interface_coupling_ff-pm sol_b_ex_interface_coupling_ff-pm sol_b_ex_interface_coupling_ff-pm)