cmBootstrapCommands1.cxx 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. // This file is used to compile all the commands
  11. // that CMake knows about at compile time.
  12. // This is sort of a boot strapping approach since you would
  13. // like to have CMake to build CMake.
  14. #include "cmCommands.h"
  15. #include "cmAddCustomCommandCommand.cxx"
  16. #include "cmAddCustomTargetCommand.cxx"
  17. #include "cmAddDefinitionsCommand.cxx"
  18. #include "cmAddDependenciesCommand.cxx"
  19. #include "cmAddExecutableCommand.cxx"
  20. #include "cmAddLibraryCommand.cxx"
  21. #include "cmAddSubDirectoryCommand.cxx"
  22. #include "cmAddTestCommand.cxx"
  23. #include "cmBreakCommand.cxx"
  24. #include "cmBuildCommand.cxx"
  25. #include "cmCMakeMinimumRequired.cxx"
  26. #include "cmCMakePolicyCommand.cxx"
  27. #include "cmCommandArgumentsHelper.cxx"
  28. #include "cmConfigureFileCommand.cxx"
  29. #include "cmContinueCommand.cxx"
  30. #include "cmCoreTryCompile.cxx"
  31. #include "cmCreateTestSourceList.cxx"
  32. #include "cmDefinePropertyCommand.cxx"
  33. #include "cmElseCommand.cxx"
  34. #include "cmEnableLanguageCommand.cxx"
  35. #include "cmEnableTestingCommand.cxx"
  36. #include "cmEndForEachCommand.cxx"
  37. #include "cmEndFunctionCommand.cxx"
  38. #include "cmEndIfCommand.cxx"
  39. #include "cmEndMacroCommand.cxx"
  40. #include "cmEndWhileCommand.cxx"
  41. #include "cmExecProgramCommand.cxx"
  42. #include "cmExecuteProcessCommand.cxx"
  43. #include "cmExternalMakefileProjectGenerator.cxx"
  44. #include "cmFindBase.cxx"
  45. #include "cmFindCommon.cxx"
  46. #include "cmFileCommand.cxx"
  47. #include "cmFindFileCommand.cxx"
  48. #include "cmFindLibraryCommand.cxx"
  49. #include "cmFindPackageCommand.cxx"
  50. #include "cmFindPathCommand.cxx"
  51. #include "cmFindProgramCommand.cxx"
  52. #include "cmForEachCommand.cxx"
  53. #include "cmFunctionCommand.cxx"
  54. #include "cmPathLabel.cxx"
  55. #include "cmSearchPath.cxx"
  56. void GetBootstrapCommands1(std::list<cmCommand*>& commands)
  57. {
  58. commands.push_back(new cmAddCustomCommandCommand);
  59. commands.push_back(new cmAddCustomTargetCommand);
  60. commands.push_back(new cmAddDefinitionsCommand);
  61. commands.push_back(new cmAddDependenciesCommand);
  62. commands.push_back(new cmAddExecutableCommand);
  63. commands.push_back(new cmAddLibraryCommand);
  64. commands.push_back(new cmAddSubDirectoryCommand);
  65. commands.push_back(new cmAddTestCommand);
  66. commands.push_back(new cmBreakCommand);
  67. commands.push_back(new cmBuildCommand);
  68. commands.push_back(new cmCMakeMinimumRequired);
  69. commands.push_back(new cmCMakePolicyCommand);
  70. commands.push_back(new cmConfigureFileCommand);
  71. commands.push_back(new cmContinueCommand);
  72. commands.push_back(new cmCreateTestSourceList);
  73. commands.push_back(new cmDefinePropertyCommand);
  74. commands.push_back(new cmElseCommand);
  75. commands.push_back(new cmEnableLanguageCommand);
  76. commands.push_back(new cmEnableTestingCommand);
  77. commands.push_back(new cmEndForEachCommand);
  78. commands.push_back(new cmEndFunctionCommand);
  79. commands.push_back(new cmEndIfCommand);
  80. commands.push_back(new cmEndMacroCommand);
  81. commands.push_back(new cmEndWhileCommand);
  82. commands.push_back(new cmExecProgramCommand);
  83. commands.push_back(new cmExecuteProcessCommand);
  84. commands.push_back(new cmFileCommand);
  85. commands.push_back(new cmFindFileCommand);
  86. commands.push_back(new cmFindLibraryCommand);
  87. commands.push_back(new cmFindPackageCommand);
  88. commands.push_back(new cmFindPathCommand);
  89. commands.push_back(new cmFindProgramCommand);
  90. commands.push_back(new cmForEachCommand);
  91. commands.push_back(new cmFunctionCommand);
  92. }