git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30340
0785d39b-7218-0410-832d-
ea1e28bc413d
STRING(TOLOWER ${_build} _build_lowercase)
ADD_EXECUTABLE(${_test_target}.${_build_lowercase}
+ EXCLUDE_FROM_ALL
${_test_target}.cc
)
SET_TARGET_PROPERTIES(${_test_target}.${_build_lowercase} PROPERTIES
COMPILE_FLAGS "${DEAL_II_CXX_FLAGS_${_build}}"
LINKER_LANGUAGE "CXX"
)
- SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
+ SET_PROPERTY(TARGET ${_test_target}.${_build_lowercase} APPEND PROPERTY
INCLUDE_DIRECTORIES
"${CMAKE_BINARY_DIR}/include"
"${CMAKE_SOURCE_DIR}/include"
)
-
TARGET_LINK_LIBRARIES(${_test_target}.${_build_lowercase}
${DEAL_II_BASE_NAME}${DEAL_II_${_build}_SUFFIX}
)
+
+ ADD_TEST(${_test_target}.${_build_lowercase}.build
+ ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target ${_test_target}.${_build_lowercase}
+ )
+
ENDIF()
ENDFOREACH()
MESSAGE(STATUS "Registering tests")
ADD_SUBDIRECTORY(base)
-ADD_SUBDIRECTORY(bits)
-ADD_SUBDIRECTORY(fe)
-MESSAGE(STATUS "Tests")
+#ADD_SUBDIRECTORY(bits)
+#ADD_SUBDIRECTORY(fe)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams