diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-11-03 15:14:35 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-11-03 15:15:14 (GMT) |
commit | 4ae133e09c763beb5a55302fdc1502abff6ff8d3 (patch) | |
tree | 73d88bc10486ad7f11e0fc763e39587d1dd06aea /Source/ctest.cxx | |
parent | 40bab8d17b18ca5e6864bf282326507c59826021 (diff) | |
download | CMake-4ae133e09c763beb5a55302fdc1502abff6ff8d3.zip CMake-4ae133e09c763beb5a55302fdc1502abff6ff8d3.tar.gz CMake-4ae133e09c763beb5a55302fdc1502abff6ff8d3.tar.bz2 |
ExternalProject: Add independent step targets
When adding step targets using ExternalProject_Add_StepTargets, the
STEP_TARGETS argument or the EP_STEP_TARGETS property, ExternalProject
sets all the dependencies for the main project to that target. Due to
this, the update target cannot be used without downloading and building
all the dependencies.
In order to be able to add step targets that do not depend on other
external projects, this patch adds:
* An optional "NO_DEPENDS" argument to the
ExternalProject_Add_StepTargets function. If this argument is set,
then no dependencies are set for the target (file dependencies will
still be set).
* A new argument INDEPENDENT_STEP_TARGETS to the ExternalProject_Add
function and a new directory property EP_INDEPENDENT_STEP_TARGETS that
behave like STEP_TARGETS and EP_STEP_TARGETS, but cause the
ExternalProject_Add_StepTargets to be called with the NO_DEPENDS
argument.
Diffstat (limited to 'Source/ctest.cxx')
0 files changed, 0 insertions, 0 deletions