summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-12-18 09:39:26 -0500
committerBrad King <brad.king@kitware.com>2001-12-18 09:39:26 -0500
commitfd37e46eb31a418302ba789fa99bb807cf2b5450 (patch)
treea7968d313066cb97828c33b8e14233db9cdf566c /Source/cmMakefile.h
parentdca0fd0859a941665c9c1648f8ca3cf42fda1141 (diff)
downloadcmake-fd37e46eb31a418302ba789fa99bb807cf2b5450.tar.gz
ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command).
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 44d4d61a3e..9631bd353f 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -534,6 +534,8 @@ public:
*/
void ExecuteCommand(std::string &name, std::vector<std::string> const& args);
+ /** Check if a command exists. */
+ bool CommandExists(const char* name) const;
protected:
std::string m_Prefix;