summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-10 19:33:06 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-11 17:49:06 (GMT)
commita44dab461ffe269618f008f16e249d9101c5bd88 (patch)
tree404a5531a43d1636402586275cccff23fea76def /Source/cmState.h
parentc734c8501b5e8865b8a2e92a8834644becb181e4 (diff)
downloadCMake-a44dab461ffe269618f008f16e249d9101c5bd88.zip
CMake-a44dab461ffe269618f008f16e249d9101c5bd88.tar.gz
CMake-a44dab461ffe269618f008f16e249d9101c5bd88.tar.bz2
cmState: introduce method for adding scripted commands
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 603fe5d..895561e 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -126,6 +126,7 @@ public:
void AddDisallowedCommand(std::string const& name, cmCommand* command,
cmPolicies::PolicyID policy, const char* message);
void AddUnexpectedCommand(std::string const& name, const char* error);
+ void AddScriptedCommand(std::string const& name, cmCommand* command);
void RenameCommand(std::string const& oldName, std::string const& newName);
void RemoveUserDefinedCommands();
std::vector<std::string> GetCommandNames() const;