summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-26 14:38:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-26 14:38:40 (GMT)
commit3eca31f81a623e91e1b76fd6012a0645aa8d6432 (patch)
treefb65bf66d5b70d22f4626742acd140ff8be505d1 /Source
parent235c2d26dca77507ab998d6c980827086989e27f (diff)
parent1320e0768e57754b51294a00480927d50176bf02 (diff)
downloadCMake-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.cxx5
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"))
{