Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / cmBootstrapCommands.cxx
blobaf2d83ca210eda88e2a3dd7bbe54df6243fa28de
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmBootstrapCommands.cxx,v $
5 Language: C++
6 Date: $Date: 2008/03/01 20:20:35 $
7 Version: $Revision: 1.27 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 // This file is used to compile all the commands
18 // that CMake knows about at compile time.
19 // This is sort of a boot strapping approach since you would
20 // like to have CMake to build CMake.
21 #include "cmCommands.h"
22 #include "cmAddCustomCommandCommand.cxx"
23 #include "cmAddCustomTargetCommand.cxx"
24 #include "cmAddDefinitionsCommand.cxx"
25 #include "cmAddDependenciesCommand.cxx"
26 #include "cmAddExecutableCommand.cxx"
27 #include "cmAddLibraryCommand.cxx"
28 #include "cmAddSubDirectoryCommand.cxx"
29 #include "cmAddTestCommand.cxx"
30 #include "cmBreakCommand.cxx"
31 #include "cmBuildCommand.cxx"
32 #include "cmCMakeMinimumRequired.cxx"
33 #include "cmCMakePolicyCommand.cxx"
34 #include "cmCommandArgumentsHelper.cxx"
35 #include "cmConfigureFileCommand.cxx"
36 #include "cmCoreTryCompile.cxx"
37 #include "cmCreateTestSourceList.cxx"
38 #include "cmDefinePropertyCommand.cxx"
39 #include "cmElseCommand.cxx"
40 #include "cmEnableTestingCommand.cxx"
41 #include "cmEndForEachCommand.cxx"
42 #include "cmEndFunctionCommand.cxx"
43 #include "cmEndIfCommand.cxx"
44 #include "cmEndMacroCommand.cxx"
45 #include "cmExecProgramCommand.cxx"
46 #include "cmExecuteProcessCommand.cxx"
47 #include "cmExternalMakefileProjectGenerator.cxx"
48 #include "cmFindBase.cxx"
49 #include "cmFindCommon.cxx"
50 #include "cmFileCommand.cxx"
51 #include "cmFindFileCommand.cxx"
52 #include "cmFindLibraryCommand.cxx"
53 #include "cmFindPackageCommand.cxx"
54 #include "cmFindPathCommand.cxx"
55 #include "cmFindProgramCommand.cxx"
56 #include "cmForEachCommand.cxx"
57 #include "cmFunctionCommand.cxx"
58 #include "cmGetCMakePropertyCommand.cxx"
59 #include "cmGetDirectoryPropertyCommand.cxx"
60 #include "cmGetFilenameComponentCommand.cxx"
61 #include "cmGetPropertyCommand.cxx"
62 #include "cmGetSourceFilePropertyCommand.cxx"
63 #include "cmGetTargetPropertyCommand.cxx"
64 #include "cmHexFileConverter.cxx"
65 #include "cmIfCommand.cxx"
66 #include "cmIncludeCommand.cxx"
67 #include "cmIncludeDirectoryCommand.cxx"
68 #include "cmIncludeRegularExpressionCommand.cxx"
69 #include "cmInstallFilesCommand.cxx"
70 #include "cmInstallCommandArguments.cxx"
71 #include "cmInstallCommand.cxx"
72 #include "cmInstallTargetsCommand.cxx"
73 #include "cmLinkDirectoriesCommand.cxx"
74 #include "cmListCommand.cxx"
75 #include "cmMacroCommand.cxx"
76 #include "cmMakeDirectoryCommand.cxx"
77 #include "cmMarkAsAdvancedCommand.cxx"
78 #include "cmMathCommand.cxx"
79 #include "cmMessageCommand.cxx"
80 #include "cmOptionCommand.cxx"
81 #include "cmProjectCommand.cxx"
82 #include "cmReturnCommand.cxx"
83 #include "cmSeparateArgumentsCommand.cxx"
84 #include "cmSetCommand.cxx"
85 #include "cmSetPropertyCommand.cxx"
86 #include "cmSetSourceFilesPropertiesCommand.cxx"
87 #include "cmSetTargetPropertiesCommand.cxx"
88 #include "cmSetTestsPropertiesCommand.cxx"
89 #include "cmSiteNameCommand.cxx"
90 #include "cmStringCommand.cxx"
91 #include "cmSubdirCommand.cxx"
92 #include "cmTargetLinkLibrariesCommand.cxx"
93 #include "cmTryCompileCommand.cxx"
94 #include "cmTryRunCommand.cxx"
96 void GetBootstrapCommands(std::list<cmCommand*>& commands)
98 commands.push_back(new cmAddCustomCommandCommand);
99 commands.push_back(new cmAddCustomTargetCommand);
100 commands.push_back(new cmAddDefinitionsCommand);
101 commands.push_back(new cmAddDependenciesCommand);
102 commands.push_back(new cmAddExecutableCommand);
103 commands.push_back(new cmAddLibraryCommand);
104 commands.push_back(new cmAddSubDirectoryCommand);
105 commands.push_back(new cmAddTestCommand);
106 commands.push_back(new cmBreakCommand);
107 commands.push_back(new cmBuildCommand);
108 commands.push_back(new cmCMakeMinimumRequired);
109 commands.push_back(new cmCMakePolicyCommand);
110 commands.push_back(new cmConfigureFileCommand);
111 commands.push_back(new cmCreateTestSourceList);
112 commands.push_back(new cmDefinePropertyCommand);
113 commands.push_back(new cmElseCommand);
114 commands.push_back(new cmEnableTestingCommand);
115 commands.push_back(new cmEndForEachCommand);
116 commands.push_back(new cmEndFunctionCommand);
117 commands.push_back(new cmEndIfCommand);
118 commands.push_back(new cmEndMacroCommand);
119 commands.push_back(new cmExecProgramCommand);
120 commands.push_back(new cmExecuteProcessCommand);
121 commands.push_back(new cmFileCommand);
122 commands.push_back(new cmFindFileCommand);
123 commands.push_back(new cmFindLibraryCommand);
124 commands.push_back(new cmFindPackageCommand);
125 commands.push_back(new cmFindPathCommand);
126 commands.push_back(new cmFindProgramCommand);
127 commands.push_back(new cmForEachCommand);
128 commands.push_back(new cmFunctionCommand);
129 commands.push_back(new cmGetCMakePropertyCommand);
130 commands.push_back(new cmGetDirectoryPropertyCommand);
131 commands.push_back(new cmGetFilenameComponentCommand);
132 commands.push_back(new cmGetPropertyCommand);
133 commands.push_back(new cmGetSourceFilePropertyCommand);
134 commands.push_back(new cmGetTargetPropertyCommand);
135 commands.push_back(new cmIfCommand);
136 commands.push_back(new cmIncludeCommand);
137 commands.push_back(new cmIncludeDirectoryCommand);
138 commands.push_back(new cmIncludeRegularExpressionCommand);
139 commands.push_back(new cmInstallCommand);
140 commands.push_back(new cmInstallFilesCommand);
141 commands.push_back(new cmInstallTargetsCommand);
142 commands.push_back(new cmLinkDirectoriesCommand);
143 commands.push_back(new cmListCommand);
144 commands.push_back(new cmMacroCommand);
145 commands.push_back(new cmMakeDirectoryCommand);
146 commands.push_back(new cmMarkAsAdvancedCommand);
147 commands.push_back(new cmMathCommand);
148 commands.push_back(new cmMessageCommand);
149 commands.push_back(new cmOptionCommand);
150 commands.push_back(new cmProjectCommand);
151 commands.push_back(new cmReturnCommand);
152 commands.push_back(new cmSeparateArgumentsCommand);
153 commands.push_back(new cmSetCommand);
154 commands.push_back(new cmSetPropertyCommand);
155 commands.push_back(new cmSetSourceFilesPropertiesCommand);
156 commands.push_back(new cmSetTargetPropertiesCommand);
157 commands.push_back(new cmSetTestsPropertiesCommand);
158 commands.push_back(new cmSiteNameCommand);
159 commands.push_back(new cmStringCommand);
160 commands.push_back(new cmSubdirCommand);
161 commands.push_back(new cmTargetLinkLibrariesCommand);
162 commands.push_back(new cmTryCompileCommand);
163 commands.push_back(new cmTryRunCommand);