[Cmake-commits] [cmake-commits] king committed CMakeBuildTest.cmake.in 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Mar 4 15:39:29 EST 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv32371/Tests

Modified Files:
	CMakeBuildTest.cmake.in 
Log Message:
ENH: Cleanup cmake --build interface.

This cleans up the 'cmake --build' command-line interface:
  - Rename --clean to --clean-first to better describe it.
  - Replace --extra-options with a -- separator to simplify passing of
    multiple native build tool options.
  - Document the options in the main CMake man page description of the
    --build option, and shares this with the usage message.
  - Require --build to be the first argument when present.
  - Move implementation into cmakemain where it belongs.


Index: CMakeBuildTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeBuildTest.cmake.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** CMakeBuildTest.cmake.in	18 Oct 2008 14:31:16 -0000	1.4
--- CMakeBuildTest.cmake.in	4 Mar 2009 20:39:27 -0000	1.5
***************
*** 47,51 ****
  execute_process(COMMAND "${CMAKE_COMMAND}" 
    --build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug 
!   --clean --target COnly
    RESULT_VARIABLE RESULT)
  if(RESULT)
--- 47,51 ----
  execute_process(COMMAND "${CMAKE_COMMAND}" 
    --build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug 
!   --clean-first --target COnly
    RESULT_VARIABLE RESULT)
  if(RESULT)



More information about the Cmake-commits mailing list