summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-21 13:38:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-21 13:38:24 (GMT)
commit5d12b87b9d505b8c9d0d4363e33636078c7510e7 (patch)
tree48c4659cb56b304b70058b9ce5926cd2b2682d0e /Source/cmGeneratorTarget.h
parentc2eeb08b06d422c7b72aa9e6431e6e7584ce8c74 (diff)
downloadCMake-5d12b87b9d505b8c9d0d4363e33636078c7510e7.zip
CMake-5d12b87b9d505b8c9d0d4363e33636078c7510e7.tar.gz
CMake-5d12b87b9d505b8c9d0d4363e33636078c7510e7.tar.bz2
cmGeneratorTarget: Improve GetCreateRuleVariable API
Pass the language and configuration to the method so it can return the complete rule variable name.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 9d13e6c..29aa410 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -75,9 +75,9 @@ public:
void GetAppleArchs(const std::string& config,
std::vector<std::string>& archVec) const;
- ///! Return the rule variable used to create this type of target,
- // need to add CMAKE_(LANG) for full name.
- const char* GetCreateRuleVariable() const;
+ /** Return the rule variable used to create this type of target. */
+ std::string GetCreateRuleVariable(std::string const& lang,
+ std::string const& config) const;
/** Get the include directories for this target. */
std::vector<std::string> GetIncludeDirectories(