summaryrefslogtreecommitdiffstats
path: root/Source/cmGetCMakePropertyCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.h')
-rw-r--r--Source/cmGetCMakePropertyCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGetCMakePropertyCommand.h b/Source/cmGetCMakePropertyCommand.h
index 4849107..e4b095f 100644
--- a/Source/cmGetCMakePropertyCommand.h
+++ b/Source/cmGetCMakePropertyCommand.h
@@ -34,6 +34,11 @@ public:
virtual bool InitialPass(std::vector<std::string> 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.
*/
virtual const char* GetName() { return "GET_CMAKE_PROPERTY";}