mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user