summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-13 16:02:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-13 16:02:58 (GMT)
commitcc90fd58eca493151010b81914f4c9cfafae145c (patch)
tree8a0c8575379464a75fb76f19dab719a44ee98931 /Source/cmGlobalXCodeGenerator.cxx
parent8d38ff05e2db3f3bd907f5a3c279fd116010e775 (diff)
parentbf8f9c29e745933d5732f4481669c38ba8bdc3fc (diff)
downloadCMake-cc90fd58eca493151010b81914f4c9cfafae145c.zip
CMake-cc90fd58eca493151010b81914f4c9cfafae145c.tar.gz
CMake-cc90fd58eca493151010b81914f4c9cfafae145c.tar.bz2
Merge topic 'xcode-attribute-genex'
bf8f9c29 Xcode: Teach XCODE_ATTRIBUTE target properties about generator expressions
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 30ed134..aea134e 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2436,8 +2436,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
if (!attribute.empty())
{
+ cmGeneratorExpression ge;
+ std::string processed = ge.Parse(i->second.GetValue())
+ ->Evaluate(this->CurrentMakefile, configName);
buildSettings->AddAttribute(attribute.c_str(),
- this->CreateString(i->second.GetValue()));
+ this->CreateString(processed));
}
}
}