diff options
author | Brad King <brad.king@kitware.com> | 2015-02-26 15:21:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-26 15:21:09 (GMT) |
commit | d1082448a8d0a75974920690dcbad8895169bfd6 (patch) | |
tree | ae9d6e85aaaf19eabbdfc68a1673d45c2d853b1c /Tests/RunCMake/CommandLine/Build.cmake | |
parent | ce935ebe50926bde199d86fbde4a78974a4043f9 (diff) | |
download | CMake-d1082448a8d0a75974920690dcbad8895169bfd6.zip CMake-d1082448a8d0a75974920690dcbad8895169bfd6.tar.gz CMake-d1082448a8d0a75974920690dcbad8895169bfd6.tar.bz2 |
Tests: Extend RunCMake.CommandLine to cover 'cmake --build' for 'ninja -v'
Diffstat (limited to 'Tests/RunCMake/CommandLine/Build.cmake')
-rw-r--r-- | Tests/RunCMake/CommandLine/Build.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/Build.cmake b/Tests/RunCMake/CommandLine/Build.cmake new file mode 100644 index 0000000..20df108 --- /dev/null +++ b/Tests/RunCMake/CommandLine/Build.cmake @@ -0,0 +1,5 @@ +add_custom_command( + OUTPUT output.txt + COMMAND ${CMAKE_COMMAND} -E echo CustomCommand > output.txt + ) +add_custom_target(CustomTarget ALL DEPENDS output.txt) |