packaging: Initial packaging
[platform/upstream/cmake.git] / Source / cmCommands.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the License for more information.
11 ============================================================================*/
12 #ifndef cmCommands_h
13 #define cmCommands_h
14 #include "cmStandardIncludes.h"
15
16 class cmCommand;
17 /**
18  * Global function to return all compiled in commands.
19  * To add a new command edit cmCommands.cxx or cmBootstrapCommands[12].cxx
20  * and add your command.
21  * It is up to the caller to delete the commands created by this
22  * call.
23  */
24 void GetBootstrapCommands1(std::list<cmCommand*>& commands);
25 void GetBootstrapCommands2(std::list<cmCommand*>& commands);
26 void GetPredefinedCommands(std::list<cmCommand*>& commands);
27
28
29 #endif