diff options
author | Brad King <brad.king@kitware.com> | 2013-11-14 20:15:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-18 13:26:23 (GMT) |
commit | 95b28eb76329262d10e60f4ad67172f8a566855c (patch) | |
tree | 94cc1caefe86f85796bb251a4fae2a98180484ff /Tests | |
parent | c85672634c37d640ea99fd5b36d7889a53c922b2 (diff) | |
download | CMake-95b28eb76329262d10e60f4ad67172f8a566855c.zip CMake-95b28eb76329262d10e60f4ad67172f8a566855c.tar.gz CMake-95b28eb76329262d10e60f4ad67172f8a566855c.tar.bz2 |
Tests: Teach MakeClean to use "cmake --build"
Switch from "ctest --build-and-test" to "cmake --build" to drive the
clean target in the MakeClean test.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/MakeClean/CMakeLists.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Tests/MakeClean/CMakeLists.txt b/Tests/MakeClean/CMakeLists.txt index 1308b61..8ac624a 100644 --- a/Tests/MakeClean/CMakeLists.txt +++ b/Tests/MakeClean/CMakeLists.txt @@ -44,14 +44,7 @@ add_executable(check_clean ${MakeClean_BINARY_DIR}/check_clean.c) add_custom_command( TARGET check_clean POST_BUILD - COMMAND ${CMAKE_CTEST_COMMAND} - ARGS --build-and-test - ${MakeClean_SOURCE_DIR}/ToClean - ${MakeClean_BINARY_DIR}/ToClean - --build-generator ${CMAKE_GENERATOR} - --build-project ToClean - --build-makeprogram ${CMAKE_MAKE_PROGRAM} - --build-noclean - --build-target clean + COMMAND ${CMAKE_COMMAND} --build ${MakeClean_BINARY_DIR}/ToClean + --target clean COMMENT "Clean the ToClean Project" ) |