diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-10 20:08:05 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-11 17:49:06 (GMT) |
commit | 4ba25a823e62271a74dfd1845f535400e2da125b (patch) | |
tree | e932951c7d36b888654fd08c4a023171efa5d9ae /Source/cmState.h | |
parent | a44dab461ffe269618f008f16e249d9101c5bd88 (diff) | |
download | CMake-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.h | 5 |
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; |