fix the CMake build

also, fix and simplify the CTest system
This commit is contained in:
Andreas Lauser
2012-10-19 14:42:37 +02:00
parent 7deaf50402
commit 95ae6949d8
3 changed files with 91 additions and 88 deletions

View File

@@ -1,11 +1,11 @@
# add build targets
ADD_EXECUTABLE("tutorial_decoupled" tutorial_decoupled.cc)
TARGET_LINK_LIBRARIES("tutorial_decoupled" ${DumuxLinkLibraries})
TARGET_LINK_LIBRARIES("tutorial_decoupled" ${EwomsLinkLibraries})
ADD_EXECUTABLE("tutorial_coupled" tutorial_coupled.cc)
TARGET_LINK_LIBRARIES("tutorial_coupled" ${DumuxLinkLibraries})
TARGET_LINK_LIBRARIES("tutorial_coupled" ${EwomsLinkLibraries})
# add required libraries and includes to the build flags
LINK_DIRECTORIES(${DumuxLinkDirectories})
INCLUDE_DIRECTORIES(${DumuxIncludeDirectories})
LINK_DIRECTORIES(${EwomsLinkDirectories})
INCLUDE_DIRECTORIES(${EwomsIncludeDirectories})