summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-10 20:08:05 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-11 17:49:06 (GMT)
commit4ba25a823e62271a74dfd1845f535400e2da125b (patch)
treee932951c7d36b888654fd08c4a023171efa5d9ae /Source/cmState.h
parenta44dab461ffe269618f008f16e249d9101c5bd88 (diff)
downloadCMake-4ba25a823e62271a74dfd1845f535400e2da125b.zip
CMake-4ba25a823e62271a74dfd1845f535400e2da125b.tar.gz
CMake-4ba25a823e62271a74dfd1845f535400e2da125b.tar.bz2
cmState: separate builtin and scripted commands
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 895561e..1a5738f 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -121,13 +121,11 @@ public:
void SetIsGeneratorMultiConfig(bool b);
cmCommand* GetCommand(std::string const& name) const;
- void AddCommand(cmCommand* command);
void AddBuiltinCommand(std::string const& name, cmCommand* command);
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;
@@ -166,7 +164,8 @@ private:
std::map<cmProperty::ScopeType, cmPropertyDefinitionMap> PropertyDefinitions;
std::vector<std::string> EnabledLanguages;
- std::map<std::string, cmCommand*> Commands;
+ std::map<std::string, cmCommand*> BuiltinCommands;
+ std::map<std::string, cmCommand*> ScriptedCommands;
cmPropertyMap GlobalProperties;
cmCacheManager* CacheManager;