summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)