summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-16 17:59:07 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-16 17:59:07 (GMT)
commit41a2fb5ba0df4dd70029e8701c7c3bd407e70032 (patch)
treea116d3b8ebf60b41c00ac6c0dac18f33c640c191 /Source/cmTarget.h
parent029e836a212b1069bda38ec09fe6614c68b12cc5 (diff)
parent9cf3547e1cd56d42bc96c3dc3adf9f745faea5ee (diff)
downloadCMake-41a2fb5ba0df4dd70029e8701c7c3bd407e70032.zip
CMake-41a2fb5ba0df4dd70029e8701c7c3bd407e70032.tar.gz
CMake-41a2fb5ba0df4dd70029e8701c7c3bd407e70032.tar.bz2
Merge topic 'tid-system-argument'
9cf3547 Add the INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property. 1925cff Add a SYSTEM parameter to target_include_directories (#14180) 286f227 Extend the cmTargetPropCommandBase interface property handling. 83498d4 Store system include directories in the cmTarget. f1fcbe3 Add Target API to determine if an include is a system include. 2679a34 Remove unused variable.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 6d27d52..3d8accd 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -535,7 +535,19 @@ 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; }
+
+ void FinalizeSystemIncludeDirectories();
+
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.
*/