summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-08-17 09:32:01 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-08-17 10:14:14 (GMT)
commit3b6c62be238f48b23d7dad302702f723dc5ef89c (patch)
tree40265ba0830d00bbfc9319b6411c99c9fc408ce3 /Source/cmSystemTools.h
parent20e580be010e95a1668eb00728c39ab9dea9e2e5 (diff)
downloadCMake-3b6c62be238f48b23d7dad302702f723dc5ef89c.zip
CMake-3b6c62be238f48b23d7dad302702f723dc5ef89c.tar.gz
CMake-3b6c62be238f48b23d7dad302702f723dc5ef89c.tar.bz2
cmSystemTools: Remove IsInternallyOn, IsNOTFOUND, IsOn, IsOff
The removes the following methods from cmSystemTools: - `IsInternallyOn` - `IsNOTFOUND` - `IsOn` - `IsOff`
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 9ccbbc5..953a358 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -94,50 +94,6 @@ public:
cmSystemTools::s_ErrorOccured = false;
}
- /**
- * Does a string indicates that CMake/CPack/CTest internally
- * forced this value. This is not the same as On, but this
- * may be considered as "internally switched on".
- */
- static bool IsInternallyOn(cm::string_view val);
- static inline bool IsInternallyOn(const char* val)
- {
- if (!val) {
- return false;
- }
- return IsInternallyOn(cm::string_view(val));
- }
-
- /**
- * Does a string indicate a true or on value? This is not the same as ifdef.
- */
- static bool IsOn(cm::string_view val);
- inline static bool IsOn(const char* val)
- {
- if (!val) {
- return false;
- }
- return IsOn(cm::string_view(val));
- }
-
- /**
- * Does a string indicate a false or off value ? Note that this is
- * not the same as !IsOn(...) because there are a number of
- * ambiguous values such as "/usr/local/bin" a path will result in
- * IsON and IsOff both returning false. Note that the special path
- * NOTFOUND, *-NOTFOUND or IGNORE will cause IsOff to return true.
- */
- static bool IsOff(cm::string_view val);
- inline static bool IsOff(const char* val)
- {
- if (!val) {
- return true;
- }
- return IsOff(cm::string_view(val));
- }
-
- //! Return true if value is NOTFOUND or ends in -NOTFOUND.
- static bool IsNOTFOUND(cm::string_view val);
//! Return true if the path is a framework
static bool IsPathToFramework(const std::string& value);