summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-04 15:37:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-04 15:37:59 (GMT)
commit4a227d280bdd08f5380274292e8cf8c06c2ed3fd (patch)
treea2bd9698a65d9f9417cd095acb304fa941443c3d /Source
parentce0aae7039c96f7c2532a38348b97d73acc52b37 (diff)
parenta40f57e485079fdfc5146dfd294d975fd851a227 (diff)
downloadCMake-4a227d280bdd08f5380274292e8cf8c06c2ed3fd.zip
CMake-4a227d280bdd08f5380274292e8cf8c06c2ed3fd.tar.gz
CMake-4a227d280bdd08f5380274292e8cf8c06c2ed3fd.tar.bz2
Merge topic 'cmMakefile_IsOn_fix_comment'
a40f57e4 cmMakefile: Revise comment describing IsOn()
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8ff6daa..9839505 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;