diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-10-24 09:22:50 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-11-03 11:14:40 (GMT) |
commit | b5e895b5d41dc688bf0acdec352cbccc178a7236 (patch) | |
tree | ec8b65fd661689d0c814f1e9583b12ce402e23fa /Source/cmTarget.cxx | |
parent | 443c574a7cc39ea490fabd1392108e651806a3e6 (diff) | |
download | CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.zip CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.tar.gz CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.tar.bz2 |
Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS support
This adds
- the variable ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` which initializes
- the target property ``AUTOGEN_ORIGIN_DEPENDS``
which controls whether or not the origin target dependencies
should be forwarded to the corresponding ``_autogen`` target.
The default value of ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` is ``ON``
which corresponds to the behavior that is in place since CMake 3.9.
Closes: #18493
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 987bdb3..5d76a02 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -239,6 +239,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, this->SetPropertyDefault("AUTOMOC", nullptr); this->SetPropertyDefault("AUTOUIC", nullptr); this->SetPropertyDefault("AUTORCC", nullptr); + this->SetPropertyDefault("AUTOGEN_ORIGIN_DEPENDS", nullptr); this->SetPropertyDefault("AUTOGEN_PARALLEL", nullptr); this->SetPropertyDefault("AUTOMOC_COMPILER_PREDEFINES", nullptr); this->SetPropertyDefault("AUTOMOC_DEPEND_FILTERS", nullptr); |