diff --git a/test/decoupled/1p/CMakeLists.txt b/test/decoupled/1p/CMakeLists.txt index a07fe69bb41c4b3827b31268af14fb4589407ce7..8adba89fb2661c0bf1c612b52b8cf7c70b268c10 100644 --- a/test/decoupled/1p/CMakeLists.txt +++ b/test/decoupled/1p/CMakeLists.txt @@ -4,6 +4,9 @@ add_definitions(-DYASPGRID -DGRIDDIM=2 -DENABLE_UG) ADD_EXECUTABLE("test_diffusion" test_diffusion.cc) TARGET_LINK_LIBRARIES("test_diffusion" ${DumuxLinkLibraries}) +ADD_EXECUTABLE("test_1p" test_1p.cc) +TARGET_LINK_LIBRARIES("test_1p" ${DumuxLinkLibraries}) + # add required libraries and includes to the build flags LINK_DIRECTORIES(${DumuxLinkDirectories}) INCLUDE_DIRECTORIES(${DumuxIncludeDirectories}) diff --git a/test/decoupled/2p/CMakeLists.txt b/test/decoupled/2p/CMakeLists.txt index c036d6e1351dc1d9f9710fc421e5eced8f2ead89..39e24b41e54d2818ffb952e79627bc6f361d9980 100644 --- a/test/decoupled/2p/CMakeLists.txt +++ b/test/decoupled/2p/CMakeLists.txt @@ -4,6 +4,9 @@ add_definitions(-DYASPGRID -DGRIDDIM=2 -DENABLE_UG) ADD_EXECUTABLE("test_impes" test_impes.cc) TARGET_LINK_LIBRARIES("test_impes" ${DumuxLinkLibraries}) +ADD_EXECUTABLE("test_transport" test_transport.cc) +TARGET_LINK_LIBRARIES("test_transport" ${DumuxLinkLibraries}) + # add required libraries and includes to the build flags LINK_DIRECTORIES(${DumuxLinkDirectories}) INCLUDE_DIRECTORIES(${DumuxIncludeDirectories}) diff --git a/test/decoupled/2p2c/CMakeLists.txt b/test/decoupled/2p2c/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..2d4f194605d8115b7a2badc85c027763088ed4ab --- /dev/null +++ b/test/decoupled/2p2c/CMakeLists.txt @@ -0,0 +1,21 @@ +add_definitions(-DYASPGRID -DGRIDDIM=2 -DENABLE_UG) + +# add build targets +ADD_EXECUTABLE("test_dec2p2c" test_dec2p2c.cc) +TARGET_LINK_LIBRARIES("test_dec2p2c" ${DumuxLinkLibraries}) + +ADD_EXECUTABLE("test_multiphysics2p2c" test_multiphysics2p2c.cc) +TARGET_LINK_LIBRARIES("test_multiphysics2p2c" ${DumuxLinkLibraries}) + +# add required libraries and includes to the build flags +LINK_DIRECTORIES(${DumuxLinkDirectories}) +INCLUDE_DIRECTORIES(${DumuxIncludeDirectories}) + +# make sure the grids are present in the build directory +add_custom_command(TARGET "test_diffusion" + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E + copy_directory + "${CMAKE_CURRENT_SOURCE_DIR}/grids" + "${CMAKE_CURRENT_BINARY_DIR}/grids") + diff --git a/test/decoupled/CMakeLists.txt b/test/decoupled/CMakeLists.txt index 5da580508278529d7fdae9809381babca684e78c..0c9cc63bd4d5adc572327f0b0c8669ef1ba3b815 100644 --- a/test/decoupled/CMakeLists.txt +++ b/test/decoupled/CMakeLists.txt @@ -1,6 +1,4 @@ -# directories which are commented out do not compile at the moment -# (they also don't compile if using the old build system)! - add_subdirectory("1p") add_subdirectory("2p") +add_subdirectory("2p2c")