cmBootstrapCommands2.cxx 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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 "cmConditionEvaluator.cxx"
  16. #include "cmExpandedCommandArgument.cxx"
  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. void GetBootstrapCommands2(std::list<cmCommand*>& commands)
  61. {
  62. commands.push_back(new cmGetCMakePropertyCommand);
  63. commands.push_back(new cmGetDirectoryPropertyCommand);
  64. commands.push_back(new cmGetFilenameComponentCommand);
  65. commands.push_back(new cmGetPropertyCommand);
  66. commands.push_back(new cmGetSourceFilePropertyCommand);
  67. commands.push_back(new cmGetTargetPropertyCommand);
  68. commands.push_back(new cmIfCommand);
  69. commands.push_back(new cmIncludeCommand);
  70. commands.push_back(new cmIncludeDirectoryCommand);
  71. commands.push_back(new cmIncludeRegularExpressionCommand);
  72. commands.push_back(new cmInstallCommand);
  73. commands.push_back(new cmInstallFilesCommand);
  74. commands.push_back(new cmInstallTargetsCommand);
  75. commands.push_back(new cmLinkDirectoriesCommand);
  76. commands.push_back(new cmListCommand);
  77. commands.push_back(new cmMacroCommand);
  78. commands.push_back(new cmMakeDirectoryCommand);
  79. commands.push_back(new cmMarkAsAdvancedCommand);
  80. commands.push_back(new cmMathCommand);
  81. commands.push_back(new cmMessageCommand);
  82. commands.push_back(new cmOptionCommand);
  83. commands.push_back(new cmProjectCommand);
  84. commands.push_back(new cmReturnCommand);
  85. commands.push_back(new cmSeparateArgumentsCommand);
  86. commands.push_back(new cmSetCommand);
  87. commands.push_back(new cmSetDirectoryPropertiesCommand);
  88. commands.push_back(new cmSetPropertyCommand);
  89. commands.push_back(new cmSetSourceFilesPropertiesCommand);
  90. commands.push_back(new cmSetTargetPropertiesCommand);
  91. commands.push_back(new cmGetTestPropertyCommand);
  92. commands.push_back(new cmSetTestsPropertiesCommand);
  93. commands.push_back(new cmSiteNameCommand);
  94. commands.push_back(new cmStringCommand);
  95. commands.push_back(new cmSubdirCommand);
  96. commands.push_back(new cmTargetLinkLibrariesCommand);
  97. commands.push_back(new cmTryCompileCommand);
  98. commands.push_back(new cmTryRunCommand);
  99. commands.push_back(new cmUnsetCommand);
  100. commands.push_back(new cmWhileCommand);
  101. }