summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-12-04 18:27:48 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-12-04 18:27:48 (GMT)
commit930827d48c39b34e8950cae1a417e53bdbdade0e (patch)
tree89732d31474a3050e88883b5efd9060524317471 /Tests/CMakeLists.txt
parent7c2445212ebfeac4f4c6408a809c77024982f715 (diff)
downloadCMake-930827d48c39b34e8950cae1a417e53bdbdade0e.zip
CMake-930827d48c39b34e8950cae1a417e53bdbdade0e.tar.gz
CMake-930827d48c39b34e8950cae1a417e53bdbdade0e.tar.bz2
ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others...
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 05dafb0..dea9330 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -510,6 +510,19 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
)
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)
ADD_TEST(TutorialStep${STP} ${CMAKE_CTEST_COMMAND}