root/simulator/trunk/vendor/cmake/Source/cmBootstrapCommands.cxx

Revision 1306, 7.4 kB (checked in by sehenley, 10 months ago)

Update vendor cmake to 2.8.0-rc3

Line 
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
9   This software is distributed WITHOUT ANY WARRANTY; without even the
10   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11   See the License for more information.
12 ============================================================================*/
13
14 // //////////////////////////////////////////////////
15 // Modified by OSRail Project to create a CodeBlocks
16 // generator for gcc projects. sehenley@comcast.net
17 // /////////////////////////////////////////////////////
18 // Added
19 //  cmPackageConfigureCommand.h
20 //  cmPackageConfigureCommand.cpp
21 //  cmPreCompiledHeader.h
22 //  cmPreCompiledHeader.cpp
23 // ////////////////////////////////////////////////
24
25 // This file is used to compile all the commands
26 // that CMake knows about at compile time.
27 // This is sort of a boot strapping approach since you would
28 // like to have CMake to build CMake.
29 #include "cmCommands.h"
30
31 #include "cmPackageConfigureCommand.cpp"  //ODRail
32 #include "cmPreCompiledHeaderCommand.cpp" //OSRail
33
34 #include "cmAddCustomCommandCommand.cxx"
35 #include "cmAddCustomTargetCommand.cxx"
36 #include "cmAddDefinitionsCommand.cxx"
37 #include "cmAddDependenciesCommand.cxx"
38 #include "cmAddExecutableCommand.cxx"
39 #include "cmAddLibraryCommand.cxx"
40 #include "cmAddSubDirectoryCommand.cxx"
41 #include "cmAddTestCommand.cxx"
42 #include "cmBreakCommand.cxx"
43 #include "cmBuildCommand.cxx"
44 #include "cmCMakeMinimumRequired.cxx"
45 #include "cmCMakePolicyCommand.cxx"
46 #include "cmCommandArgumentsHelper.cxx"
47 #include "cmConfigureFileCommand.cxx"
48 #include "cmCoreTryCompile.cxx"
49 #include "cmCreateTestSourceList.cxx"
50 #include "cmDefinePropertyCommand.cxx"
51 #include "cmElseCommand.cxx"
52 #include "cmEnableTestingCommand.cxx"
53 #include "cmEndForEachCommand.cxx"
54 #include "cmEndFunctionCommand.cxx"
55 #include "cmEndIfCommand.cxx"
56 #include "cmEndMacroCommand.cxx"
57 #include "cmExecProgramCommand.cxx"
58 #include "cmExecuteProcessCommand.cxx"
59 #include "cmExternalMakefileProjectGenerator.cxx"
60 #include "cmFindBase.cxx"
61 #include "cmFindCommon.cxx"
62 #include "cmFileCommand.cxx"
63 #include "cmFindFileCommand.cxx"
64 #include "cmFindLibraryCommand.cxx"
65 #include "cmFindPackageCommand.cxx"
66 #include "cmFindPathCommand.cxx"
67 #include "cmFindProgramCommand.cxx"
68 #include "cmForEachCommand.cxx"
69 #include "cmFunctionCommand.cxx"
70 #include "cmGetCMakePropertyCommand.cxx"
71 #include "cmGetDirectoryPropertyCommand.cxx"
72 #include "cmGetFilenameComponentCommand.cxx"
73 #include "cmGetPropertyCommand.cxx"
74 #include "cmGetSourceFilePropertyCommand.cxx"
75 #include "cmGetTargetPropertyCommand.cxx"
76 #include "cmHexFileConverter.cxx"
77 #include "cmIfCommand.cxx"
78 #include "cmIncludeCommand.cxx"
79 #include "cmIncludeDirectoryCommand.cxx"
80 #include "cmIncludeRegularExpressionCommand.cxx"
81 #include "cmInstallFilesCommand.cxx"
82 #include "cmInstallCommandArguments.cxx"
83 #include "cmInstallCommand.cxx"
84 #include "cmInstallTargetsCommand.cxx"
85 #include "cmLinkDirectoriesCommand.cxx"
86 #include "cmListCommand.cxx"
87 #include "cmMacroCommand.cxx"
88 #include "cmMakeDirectoryCommand.cxx"
89 #include "cmMarkAsAdvancedCommand.cxx"
90 #include "cmMathCommand.cxx"
91 #include "cmMessageCommand.cxx"
92 #include "cmOptionCommand.cxx"
93 #include "cmProjectCommand.cxx"
94 #include "cmReturnCommand.cxx"
95 #include "cmSeparateArgumentsCommand.cxx"
96 #include "cmSetCommand.cxx"
97 #include "cmSetDirectoryPropertiesCommand.cxx"
98 #include "cmSetPropertyCommand.cxx"
99 #include "cmSetSourceFilesPropertiesCommand.cxx"
100 #include "cmSetTargetPropertiesCommand.cxx"
101 #include "cmSetTestsPropertiesCommand.cxx"
102 #include "cmGetTestPropertyCommand.cxx"
103 #include "cmSiteNameCommand.cxx"
104 #include "cmStringCommand.cxx"
105 #include "cmSubdirCommand.cxx"
106 #include "cmTargetLinkLibrariesCommand.cxx"
107 #include "cmTryCompileCommand.cxx"
108 #include "cmTryRunCommand.cxx"
109 #include "cmUnsetCommand.cxx"
110
111 void GetBootstrapCommands(std::list<cmCommand*>& commands)
112 {
113   commands.push_back(new cmAddCustomCommandCommand);
114   commands.push_back(new cmAddCustomTargetCommand);
115   commands.push_back(new cmAddDefinitionsCommand);
116   commands.push_back(new cmAddDependenciesCommand);
117   commands.push_back(new cmAddExecutableCommand);
118   commands.push_back(new cmAddLibraryCommand);
119   commands.push_back(new cmAddSubDirectoryCommand);
120   commands.push_back(new cmAddTestCommand);
121   commands.push_back(new cmBreakCommand);
122   commands.push_back(new cmBuildCommand);
123   commands.push_back(new cmCMakeMinimumRequired);
124   commands.push_back(new cmCMakePolicyCommand);
125   commands.push_back(new cmConfigureFileCommand);
126   commands.push_back(new cmCreateTestSourceList);
127   commands.push_back(new cmDefinePropertyCommand);
128   commands.push_back(new cmElseCommand);
129   commands.push_back(new cmEnableTestingCommand);
130   commands.push_back(new cmEndForEachCommand);
131   commands.push_back(new cmEndFunctionCommand);
132   commands.push_back(new cmEndIfCommand);
133   commands.push_back(new cmEndMacroCommand);
134   commands.push_back(new cmExecProgramCommand);
135   commands.push_back(new cmExecuteProcessCommand);
136   commands.push_back(new cmFileCommand);
137   commands.push_back(new cmFindFileCommand);
138   commands.push_back(new cmFindLibraryCommand);
139   commands.push_back(new cmFindPackageCommand);
140   commands.push_back(new cmFindPathCommand);
141   commands.push_back(new cmFindProgramCommand);
142   commands.push_back(new cmForEachCommand);
143   commands.push_back(new cmFunctionCommand);
144   commands.push_back(new cmGetCMakePropertyCommand);
145   commands.push_back(new cmGetDirectoryPropertyCommand);
146   commands.push_back(new cmGetFilenameComponentCommand);
147   commands.push_back(new cmGetPropertyCommand);
148   commands.push_back(new cmGetSourceFilePropertyCommand);
149   commands.push_back(new cmGetTargetPropertyCommand);
150   commands.push_back(new cmIfCommand);
151   commands.push_back(new cmIncludeCommand);
152   commands.push_back(new cmIncludeDirectoryCommand);
153   commands.push_back(new cmIncludeRegularExpressionCommand);
154   commands.push_back(new cmInstallCommand);
155   commands.push_back(new cmInstallFilesCommand);
156   commands.push_back(new cmInstallTargetsCommand);
157   commands.push_back(new cmLinkDirectoriesCommand);
158   commands.push_back(new cmListCommand);
159   commands.push_back(new cmMacroCommand);
160   commands.push_back(new cmMakeDirectoryCommand);
161   commands.push_back(new cmMarkAsAdvancedCommand);
162   commands.push_back(new cmMathCommand);
163   commands.push_back(new cmMessageCommand);
164   commands.push_back(new cmOptionCommand);
165   commands.push_back(new cmPackageConfigureCommand);  // added by OSRail
166   commands.push_back(new cmPreCompiledHeaderCommand);        // added by OSRail
167   commands.push_back(new cmProjectCommand);
168   commands.push_back(new cmReturnCommand);
169   commands.push_back(new cmSeparateArgumentsCommand);
170   commands.push_back(new cmSetCommand);
171   commands.push_back(new cmSetDirectoryPropertiesCommand);
172   commands.push_back(new cmSetPropertyCommand);
173   commands.push_back(new cmSetSourceFilesPropertiesCommand);
174   commands.push_back(new cmSetTargetPropertiesCommand);
175   commands.push_back(new cmGetTestPropertyCommand);
176   commands.push_back(new cmSetTestsPropertiesCommand);
177   commands.push_back(new cmSiteNameCommand);
178   commands.push_back(new cmStringCommand);
179   commands.push_back(new cmSubdirCommand);
180   commands.push_back(new cmTargetLinkLibrariesCommand);
181   commands.push_back(new cmTryCompileCommand);
182   commands.push_back(new cmTryRunCommand);
183   commands.push_back(new cmUnsetCommand);
184 }
Note: See TracBrowser for help on using the browser.