[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.73 1.74

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 4 13:27:50 EST 2008


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv18550/Tests

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others...


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.73
retrieving revision 1.74
diff -C 2 -d -r1.73 -r1.74
*** CMakeLists.txt	26 Nov 2008 19:38:43 -0000	1.73
--- CMakeLists.txt	4 Dec 2008 18:27:48 -0000	1.74
***************
*** 511,514 ****
--- 511,527 ----
    LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Environment")
  
+   ADD_TEST(ExternalProject ${CMAKE_CTEST_COMMAND}
+     --build-and-test
+     "${CMake_SOURCE_DIR}/Tests/ExternalProject"
+     "${CMake_BINARY_DIR}/Tests/ExternalProject"
+     --build-generator ${CMAKE_TEST_GENERATOR}
+     --build-project ExternalProjectTest
+     --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
+     --build-exe-dir "${CMake_BINARY_DIR}/Tests/ExternalProject"
+     --force-new-ctest-process
+     --test-command ${CMAKE_CTEST_COMMAND} -VV
+     )
+   LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ExternalProject")
+ 
    # do each of the tutorial steps
    FOREACH(STP RANGE 1 7)



More information about the Cmake-commits mailing list