summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-04 19:13:16 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-04 19:13:16 (GMT)
commitbde01e4121017bc94536ff71885a901998c631b0 (patch)
tree61d247a0fd255784b1849b345d4979747470811e /Source/CMakeLists.txt
parent81b8aafb7a190d01f7d985f7ec6c8c71f6add0c0 (diff)
downloadCMake-bde01e4121017bc94536ff71885a901998c631b0.zip
CMake-bde01e4121017bc94536ff71885a901998c631b0.tar.gz
CMake-bde01e4121017bc94536ff71885a901998c631b0.tar.bz2
ENH: Adding test for external object file feature.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 78169dc..8a1b7ea 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -602,6 +602,17 @@ IF(BUILD_TESTING)
--test-command Exec2
)
+ ADD_TEST(ExternalOBJ ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/ExternalOBJ"
+ "${CMake_BINARY_DIR}/Tests/ExternalOBJ"
+ --build-generator ${CMAKE_GENERATOR}
+ --build-project ExternalOBJ
+ --build-makeprogram ${MAKEPROGRAM}
+ --build-exe-dir "${CMake_BINARY_DIR}/ExternalOBJ"
+ --test-command executable
+ )
+
ADD_TEST(curl ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Source/CTest/Curl"