summaryrefslogtreecommitdiff
path: root/Tests/CMakeBuildTest.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-04 15:39:27 -0500
committerBrad King <brad.king@kitware.com>2009-03-04 15:39:27 -0500
commit170febac528b8f18a6f1b6d8fcb5895d67a8c10b (patch)
tree40bc6b332a79f9022544214babee411ce6ab3041 /Tests/CMakeBuildTest.cmake.in
parentd35651fb6c59904b3b004474a5501280e694d37c (diff)
downloadcmake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.tar.gz
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.
Diffstat (limited to 'Tests/CMakeBuildTest.cmake.in')
-rw-r--r--Tests/CMakeBuildTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeBuildTest.cmake.in b/Tests/CMakeBuildTest.cmake.in
index ebba702f73..9c3002bc9e 100644
--- a/Tests/CMakeBuildTest.cmake.in
+++ b/Tests/CMakeBuildTest.cmake.in
@@ -46,7 +46,7 @@ endif(RESULT)
# build it again with clean and only COnly target
execute_process(COMMAND "${CMAKE_COMMAND}"
--build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug
- --clean --target COnly
+ --clean-first --target COnly
RESULT_VARIABLE RESULT)
if(RESULT)
message(FATAL_ERROR "Error running cmake --build")