summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-11 18:34:21 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-11 18:34:21 (GMT)
commitd2715cae493a16e9187d8e43f36fab90e3239184 (patch)
tree3bcf711fb6ad7368171e5d33ad75de1fe0ef98a7 /Source/cmGlobalXCodeGenerator.cxx
parent29ebc97c38a291988e1e16edcbb000bfb879825b (diff)
downloadCMake-d2715cae493a16e9187d8e43f36fab90e3239184.zip
CMake-d2715cae493a16e9187d8e43f36fab90e3239184.tar.gz
CMake-d2715cae493a16e9187d8e43f36fab90e3239184.tar.bz2
CMake 2.8.0-rc7
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 7240073..e548230 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1521,6 +1521,16 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
extraLinkOptions += " ";
extraLinkOptions += targetLinkFlags;
}
+ if(configName && *configName)
+ {
+ std::string linkFlagsVar = "LINK_FLAGS_";
+ linkFlagsVar += cmSystemTools::UpperCase(configName);
+ if(const char* linkFlags = target.GetProperty(linkFlagsVar.c_str()))
+ {
+ extraLinkOptions += " ";
+ extraLinkOptions += linkFlags;
+ }
+ }
// Get the product name components.
std::string pnprefix;