Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / cmCommands.cxx
bloba89d8fa2c00231ce4df03e7a213b71b8e74b7cdf
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCommands.cxx,v $
5 Language: C++
6 Date: $Date: 2008/02/14 16:58:32 $
7 Version: $Revision: 1.122 $
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 #include "cmCommands.h"
18 #if defined(CMAKE_BUILD_WITH_CMAKE)
19 #include "cmAuxSourceDirectoryCommand.cxx"
20 #include "cmBuildNameCommand.cxx"
21 #include "cmElseIfCommand.cxx"
22 #include "cmEnableLanguageCommand.cxx"
23 #include "cmEndWhileCommand.cxx"
24 #include "cmExportCommand.cxx"
25 #include "cmExportLibraryDependencies.cxx"
26 #include "cmFLTKWrapUICommand.cxx"
27 #include "cmGetTestPropertyCommand.cxx"
28 #include "cmIncludeExternalMSProjectCommand.cxx"
29 #include "cmInstallCommand.cxx"
30 #include "cmInstallCommandArguments.cxx"
31 #include "cmInstallProgramsCommand.cxx"
32 #include "cmLinkLibrariesCommand.cxx"
33 #include "cmLoadCacheCommand.cxx"
34 #include "cmOutputRequiredFilesCommand.cxx"
35 #include "cmQTWrapCPPCommand.cxx"
36 #include "cmQTWrapUICommand.cxx"
37 #include "cmRemoveCommand.cxx"
38 #include "cmRemoveDefinitionsCommand.cxx"
39 #include "cmSetDirectoryPropertiesCommand.cxx"
40 #include "cmSourceGroupCommand.cxx"
41 #include "cmSubdirDependsCommand.cxx"
42 #include "cmUseMangledMesaCommand.cxx"
43 #include "cmUtilitySourceCommand.cxx"
44 #include "cmVariableRequiresCommand.cxx"
45 #include "cmVariableWatchCommand.cxx"
47 #include "cmWhileCommand.cxx"
48 #include "cmWriteFileCommand.cxx"
50 // This one must be last because it includes windows.h and
51 // windows.h #defines GetCurrentDirectory which is a member
52 // of cmMakefile
53 #include "cmLoadCommandCommand.cxx"
54 #endif
56 void GetPredefinedCommands(std::list<cmCommand*>&
57 #if defined(CMAKE_BUILD_WITH_CMAKE)
58 commands
59 #endif
62 #if defined(CMAKE_BUILD_WITH_CMAKE)
63 commands.push_back(new cmAuxSourceDirectoryCommand);
64 commands.push_back(new cmBuildNameCommand);
65 commands.push_back(new cmElseIfCommand);
66 commands.push_back(new cmEnableLanguageCommand);
67 commands.push_back(new cmEndWhileCommand);
68 commands.push_back(new cmExportCommand);
69 commands.push_back(new cmExportLibraryDependenciesCommand);
70 commands.push_back(new cmFLTKWrapUICommand);
71 commands.push_back(new cmGetTestPropertyCommand);
72 commands.push_back(new cmIncludeExternalMSProjectCommand);
73 commands.push_back(new cmInstallCommand);
74 commands.push_back(new cmInstallProgramsCommand);
75 commands.push_back(new cmLinkLibrariesCommand);
76 commands.push_back(new cmLoadCacheCommand);
77 commands.push_back(new cmLoadCommandCommand);
78 commands.push_back(new cmOutputRequiredFilesCommand);
79 commands.push_back(new cmQTWrapCPPCommand);
80 commands.push_back(new cmQTWrapUICommand);
81 commands.push_back(new cmRemoveCommand);
82 commands.push_back(new cmRemoveDefinitionsCommand);
83 commands.push_back(new cmSetDirectoryPropertiesCommand);
84 commands.push_back(new cmSourceGroupCommand);
85 commands.push_back(new cmSubdirDependsCommand);
86 commands.push_back(new cmUseMangledMesaCommand);
87 commands.push_back(new cmUtilitySourceCommand);
88 commands.push_back(new cmVariableRequiresCommand);
89 commands.push_back(new cmVariableWatchCommand);
90 commands.push_back(new cmWhileCommand);
91 commands.push_back(new cmWriteFileCommand);
92 #endif