summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-30 18:56:06 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-30 18:56:06 (GMT)
commit2fb2207c1025f86cc5b62faf8c3a1ca15ea18152 (patch)
tree3238682d3b82c1a09285b0942b0e62ee390f0b08 /Source/cmSystemTools.h
parente7519358e748e66f88b7c277a6d59fff502dad4a (diff)
downloadCMake-2fb2207c1025f86cc5b62faf8c3a1ca15ea18152.zip
CMake-2fb2207c1025f86cc5b62faf8c3a1ca15ea18152.tar.gz
CMake-2fb2207c1025f86cc5b62faf8c3a1ca15ea18152.tar.bz2
bug fixes
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index e542947..2cc9c8e 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -151,9 +151,21 @@ public:
///! Remove a file.
static void RemoveFile(const char* source);
- ///! does a string indicate a true or on value ?
+ /**
+ * does a string indicate a true or on value ? This is not the same
+ * as ifdef.
+ */
static bool IsOn(const char* 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 will cause IsOff to return true.
+ */
+ static bool IsOff(const char* val);
+
static long int ModifiedTime(const char* filename);
private: