summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 18:56:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 18:56:28 (GMT)
commitc34696021d5fe72bed2b45ee52b37076a1d14dae (patch)
treeac85eb85e19227607e38abf09b3ecaafa87c6831 /Source
parent9a7dec33a37f475c89a2d24f3b19c5b16fb876f8 (diff)
downloadCMake-c34696021d5fe72bed2b45ee52b37076a1d14dae.zip
CMake-c34696021d5fe72bed2b45ee52b37076a1d14dae.tar.gz
CMake-c34696021d5fe72bed2b45ee52b37076a1d14dae.tar.bz2
ENH: Add test of macro
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 87813ee..91f3009 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -400,6 +400,16 @@ IF(BUILD_TESTING)
--build-two-config
--test-command conly)
+ ADD_TEST(MacroTest ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/MacroTest"
+ "${CMake_BINARY_DIR}/Tests/MacroTest"
+ --build-generator ${CMAKE_GENERATOR}
+ --build-project littleMacroTest
+ --build-makeprogram ${MAKEPROGRAM}
+ --build-two-config
+ --test-command miniMacroTest)
+
SET(SimpleInstallInstallDir
"${CMake_BINARY_DIR}/Tests/SimpleInstall/InstallDirectory")
ADD_TEST(SimpleInstall ${CMAKE_CTEST_COMMAND}