From 007d2bbc50618a118fd18a203b97e6779ca58588 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 22 Feb 2004 22:07:02 -0500 Subject: ENH: Make more commands scriptable --- Source/cmWriteFileCommand.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/cmWriteFileCommand.h') diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h index 0c52aed8f2..ef2561d270 100644 --- a/Source/cmWriteFileCommand.h +++ b/Source/cmWriteFileCommand.h @@ -40,6 +40,11 @@ public: */ virtual bool InitialPass(std::vector const& args); + /** + * 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. */ -- cgit v1.2.1