summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-21 21:53:35 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-21 21:53:35 (GMT)
commit83e6038ed19294f15bf22d2c4156d007bd9b9921 (patch)
tree2c190d411fadc631137d14ed1005e4f553e55211 /Source/CMakeLists.txt
parent242a236db4f8c8b1794cceaf6a97d66cc7cd8abe (diff)
downloadCMake-83e6038ed19294f15bf22d2c4156d007bd9b9921.zip
CMake-83e6038ed19294f15bf22d2c4156d007bd9b9921.tar.gz
CMake-83e6038ed19294f15bf22d2c4156d007bd9b9921.tar.bz2
better testing
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index ab7178b..28dcebe 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -53,8 +53,16 @@ LINK_LIBRARIES(CMakeLib)
LINK_DIRECTORIES(${CMake_BINARY_DIR}/Sources)
ADD_EXECUTABLE(cmake cmakemain)
+ADD_EXECUTABLE(cmaketest cmaketest.cxx cmSystemTools.cxx)
-ADD_TEST(burn cmake)
+CONFIGURE_FILE(
+${CMake_SOURCE_DIR}/Source/cmaketest.h.in
+${CMake_BINARY_DIR}/Source/cmaketest.h )
+ADD_TEST(simple ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/Simple
+ ${CMake_BINARY_DIR}/Tests/Simple
+ ${CMake_BINARY_DIR}/Tests/Simple/simple
+)
INSTALL_TARGETS(/bin cmake)