diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-01 20:28:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-02 14:40:02 (GMT) |
commit | f1fcbe3fdedb0d04fe89423331c0f2789bfe911e (patch) | |
tree | fafa4caa5f9329d8e5dedad0d27d1cf18dde7c2f /Source/cmNinjaTargetGenerator.cxx | |
parent | 2679a34a943cddb61f816299476f15997f9b5980 (diff) | |
download | CMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.zip CMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.tar.gz CMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.tar.bz2 |
Add Target API to determine if an include is a system include.
The implementation can be modified later so that system includes
can be determined on a per-target basis.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 65173ca..b5ca78a 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -161,7 +161,8 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile *source, this->GeneratorTarget, language.c_str(), config); std::string includeFlags = - this->LocalGenerator->GetIncludeFlags(includes, language.c_str(), + this->LocalGenerator->GetIncludeFlags(includes, this->GeneratorTarget, + language.c_str(), language == "RC" ? true : false); // full include paths for RC // needed by cmcldeps if(cmGlobalNinjaGenerator::IsMinGW()) |