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/ExternalProjectUpdate | |
parent | f598f1aa836f7c9a60bc59b53ebbc2faae24f5a4 (diff) | |
download | CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.zip CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.tar.gz CMake-67cfbf8eb7cb2ad0e177b68aa134bc65297929fb.tar.bz2 |
ExternalProject: Add unit tests
Diffstat (limited to 'Tests/ExternalProjectUpdate')
-rw-r--r-- | Tests/ExternalProjectUpdate/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/ExternalProjectUpdate/CMakeLists.txt b/Tests/ExternalProjectUpdate/CMakeLists.txt index c33e90b..582b0a8 100644 --- a/Tests/ExternalProjectUpdate/CMakeLists.txt +++ b/Tests/ExternalProjectUpdate/CMakeLists.txt @@ -19,6 +19,7 @@ set(base "${CMAKE_BINARY_DIR}/CMakeExternals") set(binary_base "${base}/Build") set_property(DIRECTORY PROPERTY EP_BASE ${base}) set_property(DIRECTORY PROPERTY EP_STEP_TARGETS configure build test) +set_property(DIRECTORY PROPERTY EP_INDEPENDENT_STEP_TARGETS update) set(do_git_tests 0) @@ -68,8 +69,8 @@ if(do_git_tests) CMAKE_GENERATOR "${CMAKE_GENERATOR}" CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> INSTALL_COMMAND "" - DEPENDS "SetupLocalGITRepository" ) + ExternalProject_Add_StepDependencies(${proj} download SetupLocalGITRepository) set_property(TARGET ${proj} PROPERTY FOLDER "GIT") endif() |