summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-04 21:33:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-13 18:13:13 (GMT)
commitb159bff732d4e34a683edd1740604428049d1819 (patch)
treeef8513a3fa37802bc27c11543209da7e8cd9f2da /Source/cmake.cxx
parent62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3 (diff)
downloadCMake-b159bff732d4e34a683edd1740604428049d1819.zip
CMake-b159bff732d4e34a683edd1740604428049d1819.tar.gz
CMake-b159bff732d4e34a683edd1740604428049d1819.tar.bz2
Move property definition to cmState.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx39
1 files changed, 1 insertions, 38 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 8cdf96f..6adecee 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -191,11 +191,8 @@ cmake::~cmake()
void cmake::InitializeProperties()
{
this->Properties.clear();
- this->PropertyDefinitions.clear();
- // initialize properties
- cmTarget::DefineProperties(this);
- cmMakefile::DefineProperties(this);
+ this->State->Initialize();
}
void cmake::CleanupCommandsAndMacros()
@@ -2298,40 +2295,6 @@ void cmake::GenerateGraphViz(const char* fileName) const
#endif
}
-void cmake::DefineProperty(const std::string& name,
- cmProperty::ScopeType scope,
- const char *ShortDescription,
- const char *FullDescription,
- bool chained)
-{
- this->PropertyDefinitions[scope].DefineProperty(name,scope,ShortDescription,
- FullDescription,
- chained);
-}
-
-cmPropertyDefinition *cmake
-::GetPropertyDefinition(const std::string& name,
- cmProperty::ScopeType scope)
-{
- if (this->IsPropertyDefined(name,scope))
- {
- return &(this->PropertyDefinitions[scope][name]);
- }
- return 0;
-}
-
-bool cmake::IsPropertyDefined(const std::string& name,
- cmProperty::ScopeType scope)
-{
- return this->PropertyDefinitions[scope].IsPropertyDefined(name);
-}
-
-bool cmake::IsPropertyChained(const std::string& name,
- cmProperty::ScopeType scope)
-{
- return this->PropertyDefinitions[scope].IsPropertyChained(name);
-}
-
void cmake::SetProperty(const std::string& prop, const char* value)
{
this->Properties.SetProperty(prop, value, cmProperty::GLOBAL);