cmBootstrapCommands1.cxx 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 "cmCoreTryCompile.cxx"
  30. #include "cmCreateTestSourceList.cxx"
  31. #include "cmDefinePropertyCommand.cxx"
  32. #include "cmElseCommand.cxx"
  33. #include "cmEnableLanguageCommand.cxx"
  34. #include "cmEnableTestingCommand.cxx"
  35. #include "cmEndForEachCommand.cxx"
  36. #include "cmEndFunctionCommand.cxx"
  37. #include "cmEndIfCommand.cxx"
  38. #include "cmEndMacroCommand.cxx"
  39. #include "cmEndWhileCommand.cxx"
  40. #include "cmExecProgramCommand.cxx"
  41. #include "cmExecuteProcessCommand.cxx"
  42. #include "cmExternalMakefileProjectGenerator.cxx"
  43. #include "cmFindBase.cxx"
  44. #include "cmFindCommon.cxx"
  45. #include "cmFileCommand.cxx"
  46. #include "cmFindFileCommand.cxx"
  47. #include "cmFindLibraryCommand.cxx"
  48. #include "cmFindPackageCommand.cxx"
  49. #include "cmFindPathCommand.cxx"
  50. #include "cmFindProgramCommand.cxx"
  51. #include "cmForEachCommand.cxx"
  52. #include "cmFunctionCommand.cxx"
  53. #include "cmPathLabel.cxx"
  54. #include "cmSearchPath.cxx"
  55. void GetBootstrapCommands1(std::list<cmCommand*>& commands)
  56. {
  57. commands.push_back(new cmAddCustomCommandCommand);
  58. commands.push_back(new cmAddCustomTargetCommand);
  59. commands.push_back(new cmAddDefinitionsCommand);
  60. commands.push_back(new cmAddDependenciesCommand);
  61. commands.push_back(new cmAddExecutableCommand);
  62. commands.push_back(new cmAddLibraryCommand);
  63. commands.push_back(new cmAddSubDirectoryCommand);
  64. commands.push_back(new cmAddTestCommand);
  65. commands.push_back(new cmBreakCommand);
  66. commands.push_back(new cmBuildCommand);
  67. commands.push_back(new cmCMakeMinimumRequired);
  68. commands.push_back(new cmCMakePolicyCommand);
  69. commands.push_back(new cmConfigureFileCommand);
  70. commands.push_back(new cmCreateTestSourceList);
  71. commands.push_back(new cmDefinePropertyCommand);
  72. commands.push_back(new cmElseCommand);
  73. commands.push_back(new cmEnableLanguageCommand);
  74. commands.push_back(new cmEnableTestingCommand);
  75. commands.push_back(new cmEndForEachCommand);
  76. commands.push_back(new cmEndFunctionCommand);
  77. commands.push_back(new cmEndIfCommand);
  78. commands.push_back(new cmEndMacroCommand);
  79. commands.push_back(new cmEndWhileCommand);
  80. commands.push_back(new cmExecProgramCommand);
  81. commands.push_back(new cmExecuteProcessCommand);
  82. commands.push_back(new cmFileCommand);
  83. commands.push_back(new cmFindFileCommand);
  84. commands.push_back(new cmFindLibraryCommand);
  85. commands.push_back(new cmFindPackageCommand);
  86. commands.push_back(new cmFindPathCommand);
  87. commands.push_back(new cmFindProgramCommand);
  88. commands.push_back(new cmForEachCommand);
  89. commands.push_back(new cmFunctionCommand);
  90. }