summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-06-10 16:04:58 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-17 18:49:38 (GMT)
commit3c488ce89955d00785bb4637c87b960da6c55ec8 (patch)
treeab23337d74ad31f05734257251e8741f52ac126f /Source/cmLocalGenerator.h
parent5467e7945d46f5f8540a6e11933c9b6b584036a2 (diff)
downloadCMake-3c488ce89955d00785bb4637c87b960da6c55ec8.zip
CMake-3c488ce89955d00785bb4637c87b960da6c55ec8.tar.gz
CMake-3c488ce89955d00785bb4637c87b960da6c55ec8.tar.bz2
cmLocalGenerator: Adopt target compile flag generation
Factor the flag generation out of cmCommonTargetGenerator::GetFlags into a new cmLocalGenerator::GetTargetCompileFlags method. This will allow it to be used without a target generator available.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index d04a723..66fbe01 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -317,6 +317,9 @@ public:
void GetTargetDefines(cmGeneratorTarget const* target,
std::string const& config, std::string const& lang,
std::set<std::string>& defines) const;
+ void GetTargetCompileFlags(cmGeneratorTarget* target,
+ std::string const& config,
+ std::string const& lang, std::string& flags);
std::string GetFrameworkFlags(std::string const& l,
std::string const& config,