summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-01-11 22:04:04 (GMT)
committerBrad King <brad.king@kitware.com>2012-01-13 19:21:22 (GMT)
commit9a20abf04a7fc11b53beb545f1555fe9815ae09c (patch)
tree220bea799bb7e628c43e687ab448aa2d22b0f2ab /Tests/CMakeLists.txt
parentbbed901178852e1fb1a77e4e6fbfe397fb67a20c (diff)
downloadCMake-9a20abf04a7fc11b53beb545f1555fe9815ae09c.zip
CMake-9a20abf04a7fc11b53beb545f1555fe9815ae09c.tar.gz
CMake-9a20abf04a7fc11b53beb545f1555fe9815ae09c.tar.bz2
Add infrastructure for CMake-only tests
Some tests only need to run CMake to configure and generate a build tree, but not actually perform the build. Add a new "Tests/CMakeOnly" directory dedicated for this purpose. Add a helper script to drive each test by creating a fresh build tree and running CMake on it. Add macro "add_CMakeOnly_test" to help create tests using the script.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 00c9ac7..badc76b 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -47,6 +47,7 @@ IF(BUILD_TESTING)
ENDIF()
ADD_SUBDIRECTORY(CMakeLib)
+ ADD_SUBDIRECTORY(CMakeOnly)
ADD_SUBDIRECTORY(FindPackageModeMakefileTest)