summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 13:18:59 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:02:21 (GMT)
commitf4150bd88d80f4a236ea5b0d648d8cc3122092fc (patch)
treee48a653a23ceaedf69b5a3567ab2dcaecf73e069 /Source/cmState.h
parent0178754725c61dc6778f8591db1433a6c07e9f6f (diff)
downloadCMake-f4150bd88d80f4a236ea5b0d648d8cc3122092fc.zip
CMake-f4150bd88d80f4a236ea5b0d648d8cc3122092fc.tar.gz
CMake-f4150bd88d80f4a236ea5b0d648d8cc3122092fc.tar.bz2
cmState: Move directory Properties from cmMakefile.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 86945f6..e503cd2 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -146,6 +146,15 @@ public:
cmListFileBacktrace const& lfbt);
void ClearCompileOptions();
+ void SetProperty(const std::string& prop, const char *value,
+ cmListFileBacktrace lfbt);
+ void AppendProperty(const std::string& prop, const char *value,
+ bool asString, cmListFileBacktrace lfbt);
+ const char *GetProperty(const std::string& prop) const;
+ const char *GetProperty(const std::string& prop, bool chain) const;
+ bool GetPropertyAsBool(const std::string& prop) const;
+ std::vector<std::string> GetPropertyKeys() const;
+
private:
void ComputeRelativePathTopSource();
void ComputeRelativePathTopBinary();