Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More work on cmake/ctest cruft
[simgrid.git] / buildtools / Cmake / CMakeLists.txt
index 18ca92b..5c753be 100644 (file)
@@ -19,6 +19,7 @@ ELSE(SIZEOF_INT EQUAL 4)
   SET(ARCH_64_BITS 1)
 ENDIF(SIZEOF_INT EQUAL 4)
 
+INCLUDE(CTestConfig.txt)
 
 ### Enable tests
 ENABLE_TESTING()
@@ -26,9 +27,12 @@ INCLUDE(CTest)
 INCLUDE(Dart)
 
 
-INCLUDE(CTestConfig.txt)
 INCLUDE(CTestList.txt)
 
+# Install the CTest configuration in the build dir
+configure_file(CTestCustom.ctest ${CMAKE_BINARY_DIR}/CTestCustom.ctest
+COPYONLY)
+
 #SET (CMAKE_COMPILER_IS_GNUCXX 1)
 #SET (CMAKE_COMPILER_IS_GNUCC 1)