cmBootstrapCommands2.cxx 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. // This file is used to compile all the commands
  4. // that CMake knows about at compile time.
  5. // This is sort of a boot strapping approach since you would
  6. // like to have CMake to build CMake.
  7. #include "cmCommands.h"
  8. #include "cmConditionEvaluator.cxx"
  9. #include "cmExpandedCommandArgument.cxx"
  10. #include "cmGetCMakePropertyCommand.cxx"
  11. #include "cmGetDirectoryPropertyCommand.cxx"
  12. #include "cmGetFilenameComponentCommand.cxx"
  13. #include "cmGetPropertyCommand.cxx"
  14. #include "cmGetSourceFilePropertyCommand.cxx"
  15. #include "cmGetTargetPropertyCommand.cxx"
  16. #include "cmGetTestPropertyCommand.cxx"
  17. #include "cmHexFileConverter.cxx"
  18. #include "cmIfCommand.cxx"
  19. #include "cmIncludeCommand.cxx"
  20. #include "cmIncludeDirectoryCommand.cxx"
  21. #include "cmIncludeRegularExpressionCommand.cxx"
  22. #include "cmInstallCommand.cxx"
  23. #include "cmInstallCommandArguments.cxx"
  24. #include "cmInstallFilesCommand.cxx"
  25. #include "cmInstallTargetsCommand.cxx"
  26. #include "cmLinkDirectoriesCommand.cxx"
  27. #include "cmListCommand.cxx"
  28. #include "cmMacroCommand.cxx"
  29. #include "cmMakeDirectoryCommand.cxx"
  30. #include "cmMarkAsAdvancedCommand.cxx"
  31. #include "cmMathCommand.cxx"
  32. #include "cmMessageCommand.cxx"
  33. #include "cmOptionCommand.cxx"
  34. #include "cmProjectCommand.cxx"
  35. #include "cmReturnCommand.cxx"
  36. #include "cmSeparateArgumentsCommand.cxx"
  37. #include "cmSetCommand.cxx"
  38. #include "cmSetDirectoryPropertiesCommand.cxx"
  39. #include "cmSetPropertyCommand.cxx"
  40. #include "cmSetSourceFilesPropertiesCommand.cxx"
  41. #include "cmSetTargetPropertiesCommand.cxx"
  42. #include "cmSetTestsPropertiesCommand.cxx"
  43. #include "cmSiteNameCommand.cxx"
  44. #include "cmStringCommand.cxx"
  45. #include "cmSubdirCommand.cxx"
  46. #include "cmTargetLinkLibrariesCommand.cxx"
  47. #include "cmTimestamp.cxx"
  48. #include "cmTryCompileCommand.cxx"
  49. #include "cmTryRunCommand.cxx"
  50. #include "cmUnsetCommand.cxx"
  51. #include "cmWhileCommand.cxx"
  52. void GetBootstrapCommands2(std::vector<cmCommand*>& commands)
  53. {
  54. commands.push_back(new cmGetCMakePropertyCommand);
  55. commands.push_back(new cmGetDirectoryPropertyCommand);
  56. commands.push_back(new cmGetFilenameComponentCommand);
  57. commands.push_back(new cmGetPropertyCommand);
  58. commands.push_back(new cmGetSourceFilePropertyCommand);
  59. commands.push_back(new cmGetTargetPropertyCommand);
  60. commands.push_back(new cmIfCommand);
  61. commands.push_back(new cmIncludeCommand);
  62. commands.push_back(new cmIncludeDirectoryCommand);
  63. commands.push_back(new cmIncludeRegularExpressionCommand);
  64. commands.push_back(new cmInstallCommand);
  65. commands.push_back(new cmInstallFilesCommand);
  66. commands.push_back(new cmInstallTargetsCommand);
  67. commands.push_back(new cmLinkDirectoriesCommand);
  68. commands.push_back(new cmListCommand);
  69. commands.push_back(new cmMacroCommand);
  70. commands.push_back(new cmMakeDirectoryCommand);
  71. commands.push_back(new cmMarkAsAdvancedCommand);
  72. commands.push_back(new cmMathCommand);
  73. commands.push_back(new cmMessageCommand);
  74. commands.push_back(new cmOptionCommand);
  75. commands.push_back(new cmProjectCommand);
  76. commands.push_back(new cmReturnCommand);
  77. commands.push_back(new cmSeparateArgumentsCommand);
  78. commands.push_back(new cmSetCommand);
  79. commands.push_back(new cmSetDirectoryPropertiesCommand);
  80. commands.push_back(new cmSetPropertyCommand);
  81. commands.push_back(new cmSetSourceFilesPropertiesCommand);
  82. commands.push_back(new cmSetTargetPropertiesCommand);
  83. commands.push_back(new cmGetTestPropertyCommand);
  84. commands.push_back(new cmSetTestsPropertiesCommand);
  85. commands.push_back(new cmSiteNameCommand);
  86. commands.push_back(new cmStringCommand);
  87. commands.push_back(new cmSubdirCommand);
  88. commands.push_back(new cmTargetLinkLibrariesCommand);
  89. commands.push_back(new cmTryCompileCommand);
  90. commands.push_back(new cmTryRunCommand);
  91. commands.push_back(new cmUnsetCommand);
  92. commands.push_back(new cmWhileCommand);
  93. }