1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
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 // This file is used to compile all the commands
13 // that CMake knows about at compile time.
14 // This is sort of a boot strapping approach since you would
15 // like to have CMake to build CMake.
16 #include "cmCommands.h"
17 #include "cmAddCustomCommandCommand.cxx"
18 #include "cmAddCustomTargetCommand.cxx"
19 #include "cmAddDefinitionsCommand.cxx"
20 #include "cmAddDependenciesCommand.cxx"
21 #include "cmAddExecutableCommand.cxx"
22 #include "cmAddLibraryCommand.cxx"
23 #include "cmAddSubDirectoryCommand.cxx"
24 #include "cmAddTestCommand.cxx"
25 #include "cmBreakCommand.cxx"
26 #include "cmBuildCommand.cxx"
27 #include "cmCMakeMinimumRequired.cxx"
28 #include "cmCMakePolicyCommand.cxx"
29 #include "cmCommandArgumentsHelper.cxx"
30 #include "cmConfigureFileCommand.cxx"
31 #include "cmCoreTryCompile.cxx"
32 #include "cmCreateTestSourceList.cxx"
33 #include "cmDefinePropertyCommand.cxx"
34 #include "cmElseCommand.cxx"
35 #include "cmEnableLanguageCommand.cxx"
36 #include "cmEnableTestingCommand.cxx"
37 #include "cmEndForEachCommand.cxx"
38 #include "cmEndFunctionCommand.cxx"
39 #include "cmEndIfCommand.cxx"
40 #include "cmEndMacroCommand.cxx"
41 #include "cmEndWhileCommand.cxx"
42 #include "cmExecProgramCommand.cxx"
43 #include "cmExecuteProcessCommand.cxx"
44 #include "cmExternalMakefileProjectGenerator.cxx"
45 #include "cmFindBase.cxx"
46 #include "cmFindCommon.cxx"
47 #include "cmFileCommand.cxx"
48 #include "cmFindFileCommand.cxx"
49 #include "cmFindLibraryCommand.cxx"
50 #include "cmFindPackageCommand.cxx"
51 #include "cmFindPathCommand.cxx"
52 #include "cmFindProgramCommand.cxx"
53 #include "cmForEachCommand.cxx"
54 #include "cmFunctionCommand.cxx"
56 void GetBootstrapCommands1(std::list<cmCommand*>& commands)
58 commands.push_back(new cmAddCustomCommandCommand);
59 commands.push_back(new cmAddCustomTargetCommand);
60 commands.push_back(new cmAddDefinitionsCommand);
61 commands.push_back(new cmAddDependenciesCommand);
62 commands.push_back(new cmAddExecutableCommand);
63 commands.push_back(new cmAddLibraryCommand);
64 commands.push_back(new cmAddSubDirectoryCommand);
65 commands.push_back(new cmAddTestCommand);
66 commands.push_back(new cmBreakCommand);
67 commands.push_back(new cmBuildCommand);
68 commands.push_back(new cmCMakeMinimumRequired);
69 commands.push_back(new cmCMakePolicyCommand);
70 commands.push_back(new cmConfigureFileCommand);
71 commands.push_back(new cmCreateTestSourceList);
72 commands.push_back(new cmDefinePropertyCommand);
73 commands.push_back(new cmElseCommand);
74 commands.push_back(new cmEnableLanguageCommand);
75 commands.push_back(new cmEnableTestingCommand);
76 commands.push_back(new cmEndForEachCommand);
77 commands.push_back(new cmEndFunctionCommand);
78 commands.push_back(new cmEndIfCommand);
79 commands.push_back(new cmEndMacroCommand);
80 commands.push_back(new cmEndWhileCommand);
81 commands.push_back(new cmExecProgramCommand);
82 commands.push_back(new cmExecuteProcessCommand);
83 commands.push_back(new cmFileCommand);
84 commands.push_back(new cmFindFileCommand);
85 commands.push_back(new cmFindLibraryCommand);
86 commands.push_back(new cmFindPackageCommand);
87 commands.push_back(new cmFindPathCommand);
88 commands.push_back(new cmFindProgramCommand);
89 commands.push_back(new cmForEachCommand);
90 commands.push_back(new cmFunctionCommand);