ENH: keep cleaning up Tcl/Tk modules
[cmake.git] / Source / cmBootstrapCommands.cxx
blob2d3a95ca90029d70651487b21b37a9189538f62d
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmBootstrapCommands.cxx,v $
5 Language: C++
6 Date: $Date: 2008-01-23 15:27:59 $
7 Version: $Revision: 1.23 $
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 "cmCommandArgumentsHelper.cxx"
34 #include "cmConfigureFileCommand.cxx"
35 #include "cmCoreTryCompile.cxx"
36 #include "cmCreateTestSourceList.cxx"
37 #include "cmElseCommand.cxx"
38 #include "cmEnableTestingCommand.cxx"
39 #include "cmEndForEachCommand.cxx"
40 #include "cmEndFunctionCommand.cxx"
41 #include "cmEndIfCommand.cxx"
42 #include "cmEndMacroCommand.cxx"
43 #include "cmExecProgramCommand.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"
55 #include "cmGetCMakePropertyCommand.cxx"
56 #include "cmGetFilenameComponentCommand.cxx"
57 #include "cmGetSourceFilePropertyCommand.cxx"
58 #include "cmGetTargetPropertyCommand.cxx"
59 #include "cmHexFileConverter.cxx"
60 #include "cmIfCommand.cxx"
61 #include "cmIncludeCommand.cxx"
62 #include "cmIncludeDirectoryCommand.cxx"
63 #include "cmIncludeRegularExpressionCommand.cxx"
64 #include "cmInstallFilesCommand.cxx"
65 #include "cmInstallTargetsCommand.cxx"
66 #include "cmLinkDirectoriesCommand.cxx"
67 #include "cmListCommand.cxx"
68 #include "cmMacroCommand.cxx"
69 #include "cmMakeDirectoryCommand.cxx"
70 #include "cmMarkAsAdvancedCommand.cxx"
71 #include "cmMessageCommand.cxx"
72 #include "cmOptionCommand.cxx"
73 #include "cmProjectCommand.cxx"
74 #include "cmReturnCommand.cxx"
75 #include "cmSetCommand.cxx"
76 #include "cmSetPropertyCommand.cxx"
77 #include "cmSetSourceFilesPropertiesCommand.cxx"
78 #include "cmSetTargetPropertiesCommand.cxx"
79 #include "cmSetTestsPropertiesCommand.cxx"
80 #include "cmSiteNameCommand.cxx"
81 #include "cmStringCommand.cxx"
82 #include "cmSubdirCommand.cxx"
83 #include "cmTargetLinkLibrariesCommand.cxx"
84 #include "cmTryCompileCommand.cxx"
85 #include "cmTryRunCommand.cxx"
87 void GetBootstrapCommands(std::list<cmCommand*>& commands)
89 commands.push_back(new cmAddCustomCommandCommand);
90 commands.push_back(new cmAddCustomTargetCommand);
91 commands.push_back(new cmAddDefinitionsCommand);
92 commands.push_back(new cmAddDependenciesCommand);
93 commands.push_back(new cmAddExecutableCommand);
94 commands.push_back(new cmAddLibraryCommand);
95 commands.push_back(new cmAddSubDirectoryCommand);
96 commands.push_back(new cmAddTestCommand);
97 commands.push_back(new cmBreakCommand);
98 commands.push_back(new cmBuildCommand);
99 commands.push_back(new cmCMakeMinimumRequired);
100 commands.push_back(new cmConfigureFileCommand);
101 commands.push_back(new cmCreateTestSourceList);
102 commands.push_back(new cmElseCommand);
103 commands.push_back(new cmEnableTestingCommand);
104 commands.push_back(new cmEndForEachCommand);
105 commands.push_back(new cmEndFunctionCommand);
106 commands.push_back(new cmEndIfCommand);
107 commands.push_back(new cmEndMacroCommand);
108 commands.push_back(new cmExecProgramCommand);
109 commands.push_back(new cmFileCommand);
110 commands.push_back(new cmFindFileCommand);
111 commands.push_back(new cmFindLibraryCommand);
112 commands.push_back(new cmFindPackageCommand);
113 commands.push_back(new cmFindPathCommand);
114 commands.push_back(new cmFindProgramCommand);
115 commands.push_back(new cmForEachCommand);
116 commands.push_back(new cmFunctionCommand);
117 commands.push_back(new cmGetCMakePropertyCommand);
118 commands.push_back(new cmGetFilenameComponentCommand);
119 commands.push_back(new cmGetSourceFilePropertyCommand);
120 commands.push_back(new cmGetTargetPropertyCommand);
121 commands.push_back(new cmIfCommand);
122 commands.push_back(new cmIncludeCommand);
123 commands.push_back(new cmIncludeDirectoryCommand);
124 commands.push_back(new cmIncludeRegularExpressionCommand);
125 commands.push_back(new cmInstallFilesCommand);
126 commands.push_back(new cmInstallTargetsCommand);
127 commands.push_back(new cmLinkDirectoriesCommand);
128 commands.push_back(new cmListCommand);
129 commands.push_back(new cmMacroCommand);
130 commands.push_back(new cmMakeDirectoryCommand);
131 commands.push_back(new cmMarkAsAdvancedCommand);
132 commands.push_back(new cmMessageCommand);
133 commands.push_back(new cmOptionCommand);
134 commands.push_back(new cmProjectCommand);
135 commands.push_back(new cmReturnCommand);
136 commands.push_back(new cmSetCommand);
137 commands.push_back(new cmSetPropertyCommand);
138 commands.push_back(new cmSetSourceFilesPropertiesCommand);
139 commands.push_back(new cmSetTargetPropertiesCommand);
140 commands.push_back(new cmSetTestsPropertiesCommand);
141 commands.push_back(new cmSiteNameCommand);
142 commands.push_back(new cmStringCommand);
143 commands.push_back(new cmSubdirCommand);
144 commands.push_back(new cmTargetLinkLibrariesCommand);
145 commands.push_back(new cmTryCompileCommand);
146 commands.push_back(new cmTryRunCommand);