[Cmake-commits] [cmake-commits] hoffman committed CMakeBuildTest.cmake.in 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Oct 15 16:50:57 EDT 2008
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv3627
Modified Files:
CMakeBuildTest.cmake.in
Log Message:
ENH: run the right cmake
Index: CMakeBuildTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeBuildTest.cmake.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeBuildTest.cmake.in 15 Oct 2008 17:56:07 -0000 1.1
--- CMakeBuildTest.cmake.in 15 Oct 2008 20:50:55 -0000 1.2
***************
*** 3,7 ****
# run cmake in the binary directory
! execute_process(COMMAND "@CMAKE_CMAKE_COMMAND@"
"@CMAKE_BUILD_TEST_SOURCE_DIR@"
"-G at CMAKE_TEST_GENERATOR@"
--- 3,8 ----
# run cmake in the binary directory
! message("running: ${CMAKE_COMMAND}")
! execute_process(COMMAND "${CMAKE_COMMAND}"
"@CMAKE_BUILD_TEST_SOURCE_DIR@"
"-G at CMAKE_TEST_GENERATOR@"
***************
*** 13,17 ****
# Now use the --build option to build the project
! execute_process(COMMAND "@CMAKE_CMAKE_COMMAND@"
--build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug
RESULT_VARIABLE RESULT)
--- 14,19 ----
# Now use the --build option to build the project
! message("running: ${CMAKE_COMMAND} --build")
! execute_process(COMMAND "${CMAKE_COMMAND}"
--build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug
RESULT_VARIABLE RESULT)
More information about the Cmake-commits
mailing list