Commit e23e666f authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

adapted different CMakeLists.txt files to include new tests

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5271 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 58a13842
......@@ -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})
......
......@@ -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})
......
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")
# 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")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment