summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-09 13:58:13 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-09 13:59:25 (GMT)
commit73bfad72d3b9ce021074b612bfa0a24bd6a6b04a (patch)
tree8bf4f6a962a46971be2103fc11950f08cc42182f /Source/cmNinjaTargetGenerator.h
parent6a56740e27fe74b757ff48999a2f152816ee8e52 (diff)
downloadCMake-73bfad72d3b9ce021074b612bfa0a24bd6a6b04a.zip
CMake-73bfad72d3b9ce021074b612bfa0a24bd6a6b04a.tar.gz
CMake-73bfad72d3b9ce021074b612bfa0a24bd6a6b04a.tar.bz2
cmNinjaTargetGenerator: Factor out AddIncludeFlags helper
Factor an AddIncludeFlags method out of ComputeFlagsForObject just like cmMakefileTargetGenerator has already.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index ae668dd..0cd5e48 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -81,6 +81,8 @@ protected:
std::string ComputeFlagsForObject(cmSourceFile const* source,
const std::string& language);
+ void AddIncludeFlags(std::string& flags, std::string const& lang);
+
std::string ComputeDefines(cmSourceFile const* source,
const std::string& language);