You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
5.5 KiB

  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. // This file is used to compile all the commands
  14. // that CMake knows about at compile time.
  15. // This is sort of a boot strapping approach since you would
  16. // like to have CMake to build CMake.
  17. #include "cmCommands.h"
  18. #include "cmAddCustomCommandCommand.cxx"
  19. #include "cmAddCustomTargetCommand.cxx"
  20. #include "cmAddDefinitionsCommand.cxx"
  21. #include "cmAddDependenciesCommand.cxx"
  22. #include "cmAddExecutableCommand.cxx"
  23. #include "cmAddLibraryCommand.cxx"
  24. #include "cmAddSubDirectoryCommand.cxx"
  25. #include "cmAddTestCommand.cxx"
  26. #include "cmBuildCommand.cxx"
  27. #include "cmCMakeMinimumRequired.cxx"
  28. #include "cmCommandArgumentsHelper.cxx"
  29. #include "cmConfigureFileCommand.cxx"
  30. #include "cmCoreTryCompile.cxx"
  31. #include "cmCreateTestSourceList.cxx"
  32. #include "cmElseCommand.cxx"
  33. #include "cmEnableTestingCommand.cxx"
  34. #include "cmEndForEachCommand.cxx"
  35. #include "cmEndIfCommand.cxx"
  36. #include "cmExecProgramCommand.cxx"
  37. #include "cmExternalMakefileProjectGenerator.cxx"
  38. #include "cmFindBase.cxx"
  39. #include "cmFileCommand.cxx"
  40. #include "cmFindFileCommand.cxx"
  41. #include "cmFindLibraryCommand.cxx"
  42. #include "cmFindPackageCommand.cxx"
  43. #include "cmFindPathCommand.cxx"
  44. #include "cmFindProgramCommand.cxx"
  45. #include "cmForEachCommand.cxx"
  46. #include "cmGetCMakePropertyCommand.cxx"
  47. #include "cmGetFilenameComponentCommand.cxx"
  48. #include "cmGetSourceFilePropertyCommand.cxx"
  49. #include "cmGetTargetPropertyCommand.cxx"
  50. #include "cmHexFileConverter.cxx"
  51. #include "cmIfCommand.cxx"
  52. #include "cmIncludeCommand.cxx"
  53. #include "cmIncludeDirectoryCommand.cxx"
  54. #include "cmIncludeRegularExpressionCommand.cxx"
  55. #include "cmInstallFilesCommand.cxx"
  56. #include "cmInstallTargetsCommand.cxx"
  57. #include "cmLinkDirectoriesCommand.cxx"
  58. #include "cmListCommand.cxx"
  59. #include "cmMacroCommand.cxx"
  60. #include "cmMakeDirectoryCommand.cxx"
  61. #include "cmMarkAsAdvancedCommand.cxx"
  62. #include "cmMessageCommand.cxx"
  63. #include "cmOptionCommand.cxx"
  64. #include "cmProjectCommand.cxx"
  65. #include "cmSetCommand.cxx"
  66. #include "cmSetPropertiesCommand.cxx"
  67. #include "cmSetSourceFilesPropertiesCommand.cxx"
  68. #include "cmSetTargetPropertiesCommand.cxx"
  69. #include "cmSetTestsPropertiesCommand.cxx"
  70. #include "cmSiteNameCommand.cxx"
  71. #include "cmStringCommand.cxx"
  72. #include "cmSubdirCommand.cxx"
  73. #include "cmTargetLinkLibrariesCommand.cxx"
  74. #include "cmTryCompileCommand.cxx"
  75. #include "cmTryRunCommand.cxx"
  76. void GetBootstrapCommands(std::list<cmCommand*>& commands)
  77. {
  78. commands.push_back(new cmAddCustomCommandCommand);
  79. commands.push_back(new cmAddCustomTargetCommand);
  80. commands.push_back(new cmAddDefinitionsCommand);
  81. commands.push_back(new cmAddDependenciesCommand);
  82. commands.push_back(new cmAddExecutableCommand);
  83. commands.push_back(new cmAddLibraryCommand);
  84. commands.push_back(new cmAddSubDirectoryCommand);
  85. commands.push_back(new cmAddTestCommand);
  86. commands.push_back(new cmBuildCommand);
  87. commands.push_back(new cmCMakeMinimumRequired);
  88. commands.push_back(new cmConfigureFileCommand);
  89. commands.push_back(new cmCreateTestSourceList);
  90. commands.push_back(new cmElseCommand);
  91. commands.push_back(new cmEnableTestingCommand);
  92. commands.push_back(new cmEndForEachCommand);
  93. commands.push_back(new cmEndIfCommand);
  94. commands.push_back(new cmExecProgramCommand);
  95. commands.push_back(new cmFileCommand);
  96. commands.push_back(new cmFindFileCommand);
  97. commands.push_back(new cmFindLibraryCommand);
  98. commands.push_back(new cmFindPackageCommand);
  99. commands.push_back(new cmFindPathCommand);
  100. commands.push_back(new cmFindProgramCommand);
  101. commands.push_back(new cmForEachCommand);
  102. commands.push_back(new cmGetCMakePropertyCommand);
  103. commands.push_back(new cmGetFilenameComponentCommand);
  104. commands.push_back(new cmGetSourceFilePropertyCommand);
  105. commands.push_back(new cmGetTargetPropertyCommand);
  106. commands.push_back(new cmIfCommand);
  107. commands.push_back(new cmIncludeCommand);
  108. commands.push_back(new cmIncludeDirectoryCommand);
  109. commands.push_back(new cmIncludeRegularExpressionCommand);
  110. commands.push_back(new cmInstallFilesCommand);
  111. commands.push_back(new cmInstallTargetsCommand);
  112. commands.push_back(new cmLinkDirectoriesCommand);
  113. commands.push_back(new cmListCommand);
  114. commands.push_back(new cmMacroCommand);
  115. commands.push_back(new cmMakeDirectoryCommand);
  116. commands.push_back(new cmMarkAsAdvancedCommand);
  117. commands.push_back(new cmMessageCommand);
  118. commands.push_back(new cmOptionCommand);
  119. commands.push_back(new cmProjectCommand);
  120. commands.push_back(new cmSetCommand);
  121. commands.push_back(new cmSetPropertiesCommand);
  122. commands.push_back(new cmSetSourceFilesPropertiesCommand);
  123. commands.push_back(new cmSetTargetPropertiesCommand);
  124. commands.push_back(new cmSetTestsPropertiesCommand);
  125. commands.push_back(new cmSiteNameCommand);
  126. commands.push_back(new cmStringCommand);
  127. commands.push_back(new cmSubdirCommand);
  128. commands.push_back(new cmTargetLinkLibrariesCommand);
  129. commands.push_back(new cmTryCompileCommand);
  130. commands.push_back(new cmTryRunCommand);
  131. }