better testing

This commit is contained in:
Ken Martin 2001-06-21 17:53:35 -04:00
parent 242a236db4
commit 83e6038ed1

View File

@ -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)