diff options
author | Brad King <brad.king@kitware.com> | 2009-03-04 20:39:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-04 20:39:27 (GMT) |
commit | 170febac528b8f18a6f1b6d8fcb5895d67a8c10b (patch) | |
tree | 40bc6b332a79f9022544214babee411ce6ab3041 /Tests/CMakeBuildTest.cmake.in | |
parent | d35651fb6c59904b3b004474a5501280e694d37c (diff) | |
download | CMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.zip CMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.tar.gz CMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.tar.bz2 |
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.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeBuildTest.cmake.in b/Tests/CMakeBuildTest.cmake.in index ebba702..9c3002b 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") |