diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:41 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:43 (GMT) |
commit | 12bc571c13eda8d504eac788d6b3e5e8d83e3ad3 (patch) | |
tree | b12ebb344af549969ab5d7b8fafcd649aefb3057 /Source/cmGeneratorTarget.cxx | |
parent | 41abdc17df99662a8e99ba895050dbc8c0e34b8e (diff) | |
download | CMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.zip CMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.tar.gz CMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.tar.bz2 |
cmGeneratorTarget: Move GetAutoUicOptions from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index e17df9e..95f6aaa 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -743,6 +743,32 @@ cmGeneratorTarget::UseObjectLibraries(std::vector<std::string>& objs, } //---------------------------------------------------------------------------- +void cmGeneratorTarget::GetAutoUicOptions(std::vector<std::string> &result, + const std::string& config) const +{ + const char *prop + = this->Target-> + GetLinkInterfaceDependentStringProperty("AUTOUIC_OPTIONS", + config); + if (!prop) + { + return; + } + cmGeneratorExpression ge; + + cmGeneratorExpressionDAGChecker dagChecker( + this->GetName(), + "AUTOUIC_OPTIONS", 0, 0); + cmSystemTools::ExpandListArgument(ge.Parse(prop) + ->Evaluate(this->Makefile, + config, + false, + this->Target, + &dagChecker), + result); +} + +//---------------------------------------------------------------------------- class cmTargetTraceDependencies { public: |