diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-03-14 16:29:15 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-03-14 16:29:15 (GMT) |
commit | 791aa6052b9033e89645b324b1c99222936981df (patch) | |
tree | fdd95f48321d8074e4c97eaba0b03da3e885d409 /Source/CMakeLists.txt | |
parent | f7c024df2a2ae6b8cf5ba127ee764a55f81f06e6 (diff) | |
download | CMake-791aa6052b9033e89645b324b1c99222936981df.zip CMake-791aa6052b9033e89645b324b1c99222936981df.tar.gz CMake-791aa6052b9033e89645b324b1c99222936981df.tar.bz2 |
ENH: add support for out of source source
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 817ee9f..37ab5b3 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -56,8 +56,6 @@ SET(SRCS cmListFileLexer.c cmLocalGenerator.cxx cmLocalGenerator.h - cmLocalUnixMakefileGenerator.cxx - cmLocalUnixMakefileGenerator.h cmLocalUnixMakefileGenerator2.cxx cmLocalXCodeGenerator.cxx cmMakeDepend.cxx @@ -292,6 +290,17 @@ IF(BUILD_TESTING) --build-two-config --test-command simple) + ADD_TEST(OutOfSource ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/OutOfSource" + "${CMake_BINARY_DIR}/Tests/OutOfSource" + --build-generator ${CMAKE_GENERATOR} + --build-project OutOfSource + --build-makeprogram ${MAKEPROGRAM} + --build-two-config + --test-command + "${CMake_BINARY_DIR}/Tests/OutOfSource/SubDir/OutOfSourceSubdir/simple") + ADD_TEST(PreOrder ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/PreOrder" |