diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-13 19:20:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-15 15:43:50 (GMT) |
commit | 0076b5d8340be81057195e70853d33e8fb66c1db (patch) | |
tree | 52950ce2a6ba668dc111b65f9d3dd72d5213fed7 /Source/cmake.h | |
parent | 24b7f31d3a2a464cef5955648e4a152a19d44890 (diff) | |
download | CMake-0076b5d8340be81057195e70853d33e8fb66c1db.zip CMake-0076b5d8340be81057195e70853d33e8fb66c1db.tar.gz CMake-0076b5d8340be81057195e70853d33e8fb66c1db.tar.bz2 |
cmake: Remove the happy global property scope pattern.
Global properties are already global in scope, so remove the
overload for specifying it and port users of the API.
The call from cmMakefile::GetProperty can be simplified because
the scope is only used during chaining, and there is no further
chaining after processing global properties.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 359e7bf..27f28ac 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -253,8 +253,6 @@ class cmake void AppendProperty(const std::string& prop, const char *value,bool asString=false); const char *GetProperty(const std::string& prop); - const char *GetProperty(const std::string& prop, - cmProperty::ScopeType scope); bool GetPropertyAsBool(const std::string& prop); ///! Get or create an cmInstalledFile instance and return a pointer to it |