[cmake-commits] hoffman committed CMakeLists.txt 1.308 1.309
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Nov 28 09:49:56 EST 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv11864/Source
Modified Files:
CMakeLists.txt
Log Message:
ENH: use the built cmake for file compare as older versions of cmake may not support this
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -d -r1.308 -r1.309
--- CMakeLists.txt 27 Nov 2006 21:15:28 -0000 1.308
+++ CMakeLists.txt 28 Nov 2006 14:49:53 -0000 1.309
@@ -365,6 +365,7 @@
# and not the ctest from the cmake building and testing
# cmake.
SET(CMAKE_CTEST_COMMAND "${EXECUTABLE_OUTPUT_PATH}/ctest")
+ SET(CMAKE_CMAKE_COMMAND "${EXECUTABLE_OUTPUT_PATH}/cmake")
# Should the long tests be run?
OPTION(CMAKE_RUN_LONG_TESTS "Should the long tests be run (such as Bootstrap)." ON)
@@ -398,7 +399,7 @@
--build-generator ${CMAKE_TEST_GENERATOR}
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project TargetName
- --test-command ${CMAKE_COMMAND} -E compare_files
+ --test-command ${CMAKE_CMAKE_COMMAND} -E compare_files
${CMake_SOURCE_DIR}/Tests/TargetName/scripts/hello_world
${CMake_BINARY_DIR}/Tests/TargetName/scripts/hello_world)
More information about the Cmake-commits
mailing list