summaryrefslogtreecommitdiff
path: root/Source/cmFindFileCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-22 22:07:02 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-22 22:07:02 -0500
commit007d2bbc50618a118fd18a203b97e6779ca58588 (patch)
treec6a259823705acf9840ce2be52c36f61116153d7 /Source/cmFindFileCommand.h
parent183273bea2b093043abb06845dffa7b902b6d273 (diff)
downloadcmake-007d2bbc50618a118fd18a203b97e6779ca58588.tar.gz
ENH: Make more commands scriptable
Diffstat (limited to 'Source/cmFindFileCommand.h')
-rw-r--r--Source/cmFindFileCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFindFileCommand.h b/Source/cmFindFileCommand.h
index 800cf0cebd..21c07eb000 100644
--- a/Source/cmFindFileCommand.h
+++ b/Source/cmFindFileCommand.h
@@ -51,6 +51,11 @@ public:
virtual bool IsInherited() { return false; }
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
+ /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "FIND_FILE";}