summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-12 20:01:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-06-12 20:01:04 (GMT)
commitc95d1baa194c8108841a8b973d3bbe50ca7d5666 (patch)
treebe3efd1ba2c1b58cb3d51242e246777527842efc /Source/cmGlobalGenerator.h
parentc6f6929e31a3e8067633aa57cf0775bced9d8443 (diff)
parentbd3496300262bd26073ce03e020731c592249148 (diff)
downloadCMake-c95d1baa194c8108841a8b973d3bbe50ca7d5666.zip
CMake-c95d1baa194c8108841a8b973d3bbe50ca7d5666.tar.gz
CMake-c95d1baa194c8108841a8b973d3bbe50ca7d5666.tar.bz2
Merge topic 'position-independent-targets'
bd34963 Refactor generation of shared library flags 55d7aa4 Add platform variable for flags specific to shared libraries 31d7a0f Add platform variables for position independent code flags
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 8535edc..ce91793 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -277,6 +277,8 @@ public:
i.e. "Can I build Debug and Release in the same tree?" */
virtual bool IsMultiConfig() { return false; }
+ std::string GetSharedLibFlagsForLanguage(std::string const& lang);
+
/** Generate an <output>.rule file path for a given command output. */
virtual std::string GenerateRuleFile(std::string const& output) const;
@@ -359,6 +361,7 @@ private:
std::map<cmStdString, cmStdString> LanguageToOutputExtension;
std::map<cmStdString, cmStdString> ExtensionToLanguage;
std::map<cmStdString, int> LanguageToLinkerPreference;
+ std::map<cmStdString, cmStdString> LanguageToOriginalSharedLibFlags;
// Record hashes for rules and outputs.
struct RuleHash { char Data[32]; };