CMakeLists.txt 599 B

123456789101112131415161718192021222324
  1. PROJECT(CMake)
  2. SUBDIRS(Source Modules Templates)
  3. # Include the standard Dart testing module
  4. INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
  5. # add some testing dependencies
  6. IF(BUILD_TESTING)
  7. IF (DART_ROOT)
  8. ADD_DEPENDENCIES(Nightly cmaketest cmake)
  9. ADD_DEPENDENCIES(Experimental cmaketest cmake)
  10. ADD_DEPENDENCIES(NightlyTest cmaketest cmake)
  11. ADD_DEPENDENCIES(ExperimentalTest cmaketest cmake)
  12. ENDIF (DART_ROOT)
  13. ENDIF(BUILD_TESTING)
  14. SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/Source CACHE PATH
  15. "Where to put the executables for CMake"
  16. )
  17. INCLUDE_REGULAR_EXPRESSION("^cm.*")