summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-04-03 08:19:46 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-04 15:36:14 (GMT)
commita40f57e485079fdfc5146dfd294d975fd851a227 (patch)
treed97d0480be100db30b107678a03ddd6f368adf4a /Source/cmMakefile.h
parent9f69a34f9990faefc28ac095fd874404cf07963b (diff)
downloadCMake-a40f57e485079fdfc5146dfd294d975fd851a227.zip
CMake-a40f57e485079fdfc5146dfd294d975fd851a227.tar.gz
CMake-a40f57e485079fdfc5146dfd294d975fd851a227.tar.bz2
cmMakefile: Revise comment describing IsOn()
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 460a85c..ea4d34c 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -601,8 +601,11 @@ public:
*/
std::vector<std::string> GetDefinitions(int cacheonly=0) const;
- /** Test a boolean cache entry to see if it is true or false,
- * returns false if no entry defined.
+ /**
+ * Test a boolean variable to see if it is true or false.
+ * If the variable is not found in this makefile instance, the
+ * cache is then queried.
+ * Returns false if no entry defined.
*/
bool IsOn(const std::string& name) const;
bool IsSet(const std::string& name) const;