Merge topic 'cmMakefile_IsOn_fix_comment'

a40f57e4 cmMakefile: Revise comment describing IsOn()
This commit is contained in:
Brad King 2014-04-04 11:37:59 -04:00 committed by CMake Topic Stage
commit 4a227d280b
1 changed files with 5 additions and 2 deletions

View File

@ -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;