Imported Upstream version 2.8.12.2
[platform/upstream/cmake.git] / Source / cmBootstrapCommands2.cxx
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 // 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 "cmGeneratorExpressionEvaluationFile.cxx"
18 #include "cmGetCMakePropertyCommand.cxx"
19 #include "cmGetDirectoryPropertyCommand.cxx"
20 #include "cmGetFilenameComponentCommand.cxx"
21 #include "cmGetPropertyCommand.cxx"
22 #include "cmGetSourceFilePropertyCommand.cxx"
23 #include "cmGetTargetPropertyCommand.cxx"
24 #include "cmHexFileConverter.cxx"
25 #include "cmIfCommand.cxx"
26 #include "cmIncludeCommand.cxx"
27 #include "cmIncludeDirectoryCommand.cxx"
28 #include "cmIncludeRegularExpressionCommand.cxx"
29 #include "cmInstallFilesCommand.cxx"
30 #include "cmInstallCommandArguments.cxx"
31 #include "cmInstallCommand.cxx"
32 #include "cmInstallTargetsCommand.cxx"
33 #include "cmLinkDirectoriesCommand.cxx"
34 #include "cmListCommand.cxx"
35 #include "cmMacroCommand.cxx"
36 #include "cmMakeDirectoryCommand.cxx"
37 #include "cmMarkAsAdvancedCommand.cxx"
38 #include "cmMathCommand.cxx"
39 #include "cmMessageCommand.cxx"
40 #include "cmOptionCommand.cxx"
41 #include "cmProjectCommand.cxx"
42 #include "cmReturnCommand.cxx"
43 #include "cmSeparateArgumentsCommand.cxx"
44 #include "cmSetCommand.cxx"
45 #include "cmSetDirectoryPropertiesCommand.cxx"
46 #include "cmSetPropertyCommand.cxx"
47 #include "cmSetSourceFilesPropertiesCommand.cxx"
48 #include "cmSetTargetPropertiesCommand.cxx"
49 #include "cmSetTestsPropertiesCommand.cxx"
50 #include "cmGetTestPropertyCommand.cxx"
51 #include "cmSiteNameCommand.cxx"
52 #include "cmStringCommand.cxx"
53 #include "cmSubdirCommand.cxx"
54 #include "cmTargetLinkLibrariesCommand.cxx"
55 #include "cmTimestamp.cxx"
56 #include "cmTryCompileCommand.cxx"
57 #include "cmTryRunCommand.cxx"
58 #include "cmUnsetCommand.cxx"
59 #include "cmWhileCommand.cxx"
60
61 void GetBootstrapCommands2(std::list<cmCommand*>& commands)
62 {
63   commands.push_back(new cmGetCMakePropertyCommand);
64   commands.push_back(new cmGetDirectoryPropertyCommand);
65   commands.push_back(new cmGetFilenameComponentCommand);
66   commands.push_back(new cmGetPropertyCommand);
67   commands.push_back(new cmGetSourceFilePropertyCommand);
68   commands.push_back(new cmGetTargetPropertyCommand);
69   commands.push_back(new cmIfCommand);
70   commands.push_back(new cmIncludeCommand);
71   commands.push_back(new cmIncludeDirectoryCommand);
72   commands.push_back(new cmIncludeRegularExpressionCommand);
73   commands.push_back(new cmInstallCommand);
74   commands.push_back(new cmInstallFilesCommand);
75   commands.push_back(new cmInstallTargetsCommand);
76   commands.push_back(new cmLinkDirectoriesCommand);
77   commands.push_back(new cmListCommand);
78   commands.push_back(new cmMacroCommand);
79   commands.push_back(new cmMakeDirectoryCommand);
80   commands.push_back(new cmMarkAsAdvancedCommand);
81   commands.push_back(new cmMathCommand);
82   commands.push_back(new cmMessageCommand);
83   commands.push_back(new cmOptionCommand);
84   commands.push_back(new cmProjectCommand);
85   commands.push_back(new cmReturnCommand);
86   commands.push_back(new cmSeparateArgumentsCommand);
87   commands.push_back(new cmSetCommand);
88   commands.push_back(new cmSetDirectoryPropertiesCommand);
89   commands.push_back(new cmSetPropertyCommand);
90   commands.push_back(new cmSetSourceFilesPropertiesCommand);
91   commands.push_back(new cmSetTargetPropertiesCommand);
92   commands.push_back(new cmGetTestPropertyCommand);
93   commands.push_back(new cmSetTestsPropertiesCommand);
94   commands.push_back(new cmSiteNameCommand);
95   commands.push_back(new cmStringCommand);
96   commands.push_back(new cmSubdirCommand);
97   commands.push_back(new cmTargetLinkLibrariesCommand);
98   commands.push_back(new cmTryCompileCommand);
99   commands.push_back(new cmTryRunCommand);
100   commands.push_back(new cmUnsetCommand);
101   commands.push_back(new cmWhileCommand);
102 }