diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-19 21:17:10 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-21 16:14:51 (GMT) |
commit | 4fb70919a57582e4ca7c2a9f6bc4f72b38f9af86 (patch) | |
tree | 70734798cfea61f17dda417527ab04153c2f85bc /Source/cmCommands.h | |
parent | 608afd4f62f57fe3f9dcac1e9cc94b8bd1adf9c6 (diff) | |
download | CMake-4fb70919a57582e4ca7c2a9f6bc4f72b38f9af86.zip CMake-4fb70919a57582e4ca7c2a9f6bc4f72b38f9af86.tar.gz CMake-4fb70919a57582e4ca7c2a9f6bc4f72b38f9af86.tar.bz2 |
Create all commands from a single function
Diffstat (limited to 'Source/cmCommands.h')
-rw-r--r-- | Source/cmCommands.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmCommands.h b/Source/cmCommands.h index c2a59b8..649dea6 100644 --- a/Source/cmCommands.h +++ b/Source/cmCommands.h @@ -10,13 +10,9 @@ class cmCommand; /** * Global function to return all compiled in commands. - * To add a new command edit cmCommands.cxx or cmBootstrapCommands[12].cxx - * and add your command. - * It is up to the caller to delete the commands created by this - * call. + * To add a new command edit cmCommands.cxx and add your command. + * It is up to the caller to delete the commands created by this call. */ -void GetBootstrapCommands1(std::vector<cmCommand*>& commands); -void GetBootstrapCommands2(std::vector<cmCommand*>& commands); -void GetPredefinedCommands(std::vector<cmCommand*>& commands); +std::vector<cmCommand*> GetPredefinedCommands(); #endif |