[cmake-commits] alex committed cmOptionCommand.h 1.13 1.14
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Dec 19 16:54:00 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv3274
Modified Files:
cmOptionCommand.h
Log Message:
ENH: options() is now scriptable, set() is scriptable too, I don't see a big
difference
Alex
Index: cmOptionCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmOptionCommand.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cmOptionCommand.h 10 Oct 2007 15:47:43 -0000 1.13
+++ cmOptionCommand.h 19 Dec 2007 21:53:58 -0000 1.14
@@ -65,7 +65,12 @@
"Provide an option for the user to select as ON or OFF. If no "
"initial value is provided, OFF is used.";
}
-
+
+ /**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
cmTypeMacro(cmOptionCommand, cmCommand);
};
More information about the Cmake-commits
mailing list