summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-01 15:16:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-01 15:16:20 (GMT)
commita99dfa60aed8b4446949c3f55e7b3ea517042bb4 (patch)
tree851088c4562a35976a9b7138831a02703d458ef3 /Source/cmIfCommand.h
parent2fb2207c1025f86cc5b62faf8c3a1ca15ea18152 (diff)
downloadCMake-a99dfa60aed8b4446949c3f55e7b3ea517042bb4.zip
CMake-a99dfa60aed8b4446949c3f55e7b3ea517042bb4.tar.gz
CMake-a99dfa60aed8b4446949c3f55e7b3ea517042bb4.tar.bz2
new set command and IF NOT
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 2887196..6bb3102 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -53,12 +53,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class cmIfFunctionBlocker : public cmFunctionBlocker
{
public:
+ cmIfFunctionBlocker() {m_Not = false;}
virtual ~cmIfFunctionBlocker() {}
virtual bool IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
const cmMakefile &mf) const;
virtual bool ShouldRemove(const char *name, const std::vector<std::string> &args,
const cmMakefile &mf) const;
std::string m_Define;
+ bool m_Not;
};
/** \class cmIfCommand
@@ -108,7 +110,8 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "IF(define)";
+ "IF (define) Starts an if block. Optionally there it can be invoked as\n"
+ "IF (NOT Define) the matching ELSE and ENDIF require the NOT as well.";
}
cmTypeMacro(cmIfCommand, cmCommand);