Skip to content
Snippets Groups Projects
Commit 4f6f3868 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

MpNc: add CMakeLists.txt to the test

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6720 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 1f114cbf
No related branches found
No related tags found
No related merge requests found
...@@ -7,5 +7,6 @@ add_subdirectory("2p") ...@@ -7,5 +7,6 @@ add_subdirectory("2p")
add_subdirectory("2pni") add_subdirectory("2pni")
add_subdirectory("2p2c") add_subdirectory("2p2c")
add_subdirectory("2p2cni") add_subdirectory("2p2cni")
add_subdirectory("MpNc")
add_subdirectory("richards") add_subdirectory("richards")
add_definitions(-DYASPGRID -DENABLE_ALBERTA -DENABLE_ALUGRID -DENABLE_UG)
# build target for the twophase-twocomponent test problem # build target for the twophase-twocomponent test problem
ADD_EXECUTABLE("test_2p2c" test_2p2c.cc) ADD_EXECUTABLE("test_MpNc" test_MpNc.cc)
TARGET_LINK_LIBRARIES("test_2p2c" ${DumuxLinkLibraries}) TARGET_LINK_LIBRARIES("test_MpNc" ${DumuxLinkLibraries})
# add required libraries and includes to the build flags # add required libraries and includes to the build flags
LINK_DIRECTORIES(${DumuxLinkDirectories}) LINK_DIRECTORIES(${DumuxLinkDirectories})
INCLUDE_DIRECTORIES(${DumuxIncludeDirectories}) INCLUDE_DIRECTORIES(${DumuxIncludeDirectories})
# make sure the grids are present in the build directory # make sure the grids are present in the build directory
add_custom_command(TARGET "test_2p2c" add_custom_command(TARGET "test_MpNc"
POST_BUILD POST_BUILD
COMMAND ${CMAKE_COMMAND} -E COMMAND ${CMAKE_COMMAND} -E
copy_directory copy_directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment