summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-01 20:55:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-02 14:40:02 (GMT)
commit83498d413530570f7ab9affee5b8301c888bf91e (patch)
tree08f4c2ce8a7ec31b8061369a4113af29fe504f33 /Source/cmTarget.h
parentf1fcbe3fdedb0d04fe89423331c0f2789bfe911e (diff)
downloadCMake-83498d413530570f7ab9affee5b8301c888bf91e.zip
CMake-83498d413530570f7ab9affee5b8301c888bf91e.tar.gz
CMake-83498d413530570f7ab9affee5b8301c888bf91e.tar.bz2
Store system include directories in the cmTarget.
Entries from the cmMakefile are processed and maintained similarly to other include directories. The include_directories(SYSTEM) signature affects all following targets, and all prior targets in the same makefile.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 3bc0ab2..ff6d923 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -533,7 +533,16 @@ public:
std::string GetDebugGeneratorExpressions(const std::string &value,
cmTarget::LinkLibraryType llt);
+
+ void AddSystemIncludeDirectories(const std::set<cmStdString> &incs);
+ void AddSystemIncludeDirectories(const std::vector<std::string> &incs);
+ std::set<cmStdString> const & GetSystemIncludeDirectories() const
+ { return this->SystemIncludeDirectories; }
private:
+ // The set of include directories that are marked as system include
+ // directories.
+ std::set<cmStdString> SystemIncludeDirectories;
+
/**
* A list of direct dependencies. Use in conjunction with DependencyMap.
*/