diff options
author | Brad King <brad.king@kitware.com> | 2013-11-26 14:38:40 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-26 14:38:40 (GMT) |
commit | 3eca31f81a623e91e1b76fd6012a0645aa8d6432 (patch) | |
tree | fb65bf66d5b70d22f4626742acd140ff8be505d1 /Source | |
parent | 235c2d26dca77507ab998d6c980827086989e27f (diff) | |
parent | 1320e0768e57754b51294a00480927d50176bf02 (diff) | |
download | CMake-3eca31f81a623e91e1b76fd6012a0645aa8d6432.zip CMake-3eca31f81a623e91e1b76fd6012a0645aa8d6432.tar.gz CMake-3eca31f81a623e91e1b76fd6012a0645aa8d6432.tar.bz2 |
Merge topic 'autogen-depends'
1320e07 cmQtAutogen: Allow specifying depends for autogen targets.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 35717ce..a7d20ae 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -204,6 +204,11 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target) "", makefile->GetCurrentOutputDirectory()); std::vector<std::string> depends; + if (const char *autogenDepends = + target->GetProperty("AUTOGEN_TARGET_DEPENDS")) + { + cmSystemTools::ExpandListArgument(autogenDepends, depends); + } std::vector<std::string> toolNames; if (target->GetPropertyAsBool("AUTOMOC")) { |