diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-11-03 15:14:54 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-11-03 15:15:14 (GMT) |
commit | 67cfbf8eb7cb2ad0e177b68aa134bc65297929fb (patch) | |
tree | ce4ecb5086e05661f580fd7b84df236266c0b133 /Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake | |
parent | f598f1aa836f7c9a60bc59b53ebbc2faae24f5a4 (diff) | |
download | CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.zip CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.tar.gz CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.tar.bz2 |
ExternalProject: Add unit tests
Diffstat (limited to 'Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake')
-rw-r--r-- | Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake b/Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake new file mode 100644 index 0000000..264c3f0 --- /dev/null +++ b/Tests/RunCMake/ExternalProject/Add_StepDependencies_no_target.cmake @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION ${CMAKE_VERSION}) + +include(ExternalProject) + +ExternalProject_Add(BAR URL https://cmake.org/bar.tar.gz) + +ExternalProject_Add(FOO URL https://cmake.org/foo.tar.gz STEP_TARGETS update) +ExternalProject_Add_Step(FOO do_something COMMAND ${CMAKE_COMMAND} -E echo "Doing something") +ExternalProject_Add_Step(FOO do_something_else COMMAND ${CMAKE_COMMAND} -E echo "Doing something else") +ExternalProject_Add_StepTargets(FOO do_something) |