diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-18 10:28:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-25 12:53:05 (GMT) |
commit | 6ed9c7e024d66d89ab303ba0d299fa4ee099f91b (patch) | |
tree | 4f4cd9ebcf0d88f47e88fe9fc1ae6a26a6096d8a /Source/cmState.h | |
parent | 8f0a5d84e3fa894c687089d5f6dd6463c47968d8 (diff) | |
download | CMake-6ed9c7e024d66d89ab303ba0d299fa4ee099f91b.zip CMake-6ed9c7e024d66d89ab303ba0d299fa4ee099f91b.tar.gz CMake-6ed9c7e024d66d89ab303ba0d299fa4ee099f91b.tar.bz2 |
cmState: Host buildsystem properties for directories.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 17ee6ec..0d5300f 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -16,6 +16,7 @@ #include "cmPropertyDefinitionMap.h" #include "cmPropertyMap.h" #include "cmLinkedTree.h" +#include "cmAlgorithms.h" class cmake; class cmCommand; @@ -56,6 +57,8 @@ public: Snapshot GetBuildsystemDirectoryParent() const; Snapshot GetCallStackParent() const; + void InitializeFromParent(); + cmState* GetState() const; Directory GetDirectory() const; @@ -87,6 +90,32 @@ public: void SetRelativePathTopSource(const char* dir); void SetRelativePathTopBinary(const char* dir); + cmStringRange GetIncludeDirectoriesEntries() const; + cmBacktraceRange GetIncludeDirectoriesEntryBacktraces() const; + void AppendIncludeDirectoriesEntry(std::string const& vec, + cmListFileBacktrace const& lfbt); + void PrependIncludeDirectoriesEntry(std::string const& vec, + cmListFileBacktrace const& lfbt); + void SetIncludeDirectories(std::string const& vec, + cmListFileBacktrace const& lfbt); + void ClearIncludeDirectories(); + + cmStringRange GetCompileDefinitionsEntries() const; + cmBacktraceRange GetCompileDefinitionsEntryBacktraces() const; + void AppendCompileDefinitionsEntry(std::string const& vec, + cmListFileBacktrace const& lfbt); + void SetCompileDefinitions(std::string const& vec, + cmListFileBacktrace const& lfbt); + void ClearCompileDefinitions(); + + cmStringRange GetCompileOptionsEntries() const; + cmBacktraceRange GetCompileOptionsEntryBacktraces() const; + void AppendCompileOptionsEntry(std::string const& vec, + cmListFileBacktrace const& lfbt); + void SetCompileOptions(std::string const& vec, + cmListFileBacktrace const& lfbt); + void ClearCompileOptions(); + private: void ComputeRelativePathTopSource(); void ComputeRelativePathTopBinary(); |