cmCommands.cxx 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. // This file is used to compile all the commands
  2. // that CMake knows about at compile time.
  3. // This is sort of a boot strapping approach since you would
  4. // like to have CMake to build CMake.
  5. #include "cmCommands.h"
  6. #include "cmAbstractFilesCommand.cxx"
  7. #include "cmAddExecutableCommand.cxx"
  8. #include "cmAddLibraryCommand.cxx"
  9. #include "cmAddTargetCommand.cxx"
  10. #include "cmAuxSourceDirectoryCommand.cxx"
  11. #include "cmFindIncludeCommand.cxx"
  12. #include "cmFindLibraryCommand.cxx"
  13. #include "cmFindProgramCommand.cxx"
  14. #include "cmIncludeDirectoryCommand.cxx"
  15. #include "cmLinkDirectoriesCommand.cxx"
  16. #include "cmLinkLibrariesCommand.cxx"
  17. #include "cmProjectCommand.cxx"
  18. #include "cmSourceFilesCommand.cxx"
  19. #include "cmSourceFilesRequireCommand.cxx"
  20. #include "cmSubdirCommand.cxx"
  21. #include "cmTestsCommand.cxx"
  22. #include "cmUnixDefinesCommand.cxx"
  23. #include "cmUnixLibrariesCommand.cxx"
  24. #include "cmWin32DefinesCommand.cxx"
  25. #include "cmWin32LibrariesCommand.cxx"
  26. #include "cmWin32IncludeDirectoryCommand.cxx"
  27. #include "cmConfigureFileNoAutoconf.cxx"
  28. #include "cmCableCommand.cxx"
  29. #include "cmCableData.cxx"
  30. #include "cmCableDefineSetCommand.cxx"
  31. #include "cmCableOpenNamespaceCommand.cxx"
  32. #include "cmCableCloseNamespaceCommand.cxx"
  33. #include "cmCablePackageCommand.cxx"
  34. #include "cmCablePackageEntryCommand.cxx"
  35. #include "cmCableSourceFilesCommand.cxx"
  36. #include "cmCableWrapCommand.cxx"
  37. #include "cmCableInstantiateCommand.cxx"
  38. #include "cmCableInstantiateClassCommand.cxx"
  39. #include "cmFindFileCommand.cxx"
  40. #include "cmFindPathCommand.cxx"
  41. #include "cmWrapExcludeFilesCommand.cxx"
  42. #include "cmVTKWrapPythonCommand.cxx"
  43. #include "cmVTKWrapTclCommand.cxx"
  44. #include "cmBuildSharedLibrariesCommand.cxx"
  45. #include "cmUtilitySourceCommand.cxx"
  46. #include "cmIncludeRegularExpressionCommand.cxx"
  47. #include "cmSourceGroupCommand.cxx"
  48. #include "cmIfCommand.cxx"
  49. #include "cmElseCommand.cxx"
  50. #include "cmEndIfCommand.cxx"
  51. #include "cmAddDefinitionsCommand.cxx"
  52. #include "cmOptionCommand.cxx"
  53. void GetPredefinedCommands(std::list<cmCommand*>& commands)
  54. {
  55. commands.push_back(new cmAbstractFilesCommand);
  56. commands.push_back(new cmAddExecutableCommand);
  57. commands.push_back(new cmAddLibraryCommand);
  58. commands.push_back(new cmAddTargetCommand);
  59. commands.push_back(new cmAuxSourceDirectoryCommand);
  60. commands.push_back(new cmFindIncludeCommand);
  61. commands.push_back(new cmFindLibraryCommand);
  62. commands.push_back(new cmFindProgramCommand);
  63. commands.push_back(new cmIncludeDirectoryCommand);
  64. commands.push_back(new cmLinkDirectoriesCommand);
  65. commands.push_back(new cmLinkLibrariesCommand);
  66. commands.push_back(new cmProjectCommand);
  67. commands.push_back(new cmSourceFilesCommand);
  68. commands.push_back(new cmSourceFilesRequireCommand);
  69. commands.push_back(new cmSubdirCommand);
  70. commands.push_back(new cmTestsCommand);
  71. commands.push_back(new cmUnixDefinesCommand);
  72. commands.push_back(new cmUnixLibrariesCommand);
  73. commands.push_back(new cmWin32DefinesCommand);
  74. commands.push_back(new cmWin32LibrariesCommand);
  75. commands.push_back(new cmWin32IncludeDirectoryCommand);
  76. commands.push_back(new cmConfigureFileNoAutoconf);
  77. commands.push_back(new cmCableDefineSetCommand);
  78. commands.push_back(new cmCableOpenNamespaceCommand);
  79. commands.push_back(new cmCableCloseNamespaceCommand);
  80. commands.push_back(new cmCablePackageCommand);
  81. commands.push_back(new cmCableSourceFilesCommand);
  82. commands.push_back(new cmCableWrapCommand);
  83. commands.push_back(new cmCableInstantiateCommand);
  84. commands.push_back(new cmCableInstantiateClassCommand);
  85. commands.push_back(new cmFindFileCommand);
  86. commands.push_back(new cmFindPathCommand);
  87. commands.push_back(new cmWrapExcludeFilesCommand);
  88. commands.push_back(new cmVTKWrapPythonCommand);
  89. commands.push_back(new cmVTKWrapTclCommand);
  90. commands.push_back(new cmBuildSharedLibrariesCommand);
  91. commands.push_back(new cmUtilitySourceCommand);
  92. commands.push_back(new cmIncludeRegularExpressionCommand);
  93. commands.push_back(new cmSourceGroupCommand);
  94. commands.push_back(new cmIfCommand);
  95. commands.push_back(new cmElseCommand);
  96. commands.push_back(new cmEndIfCommand);
  97. commands.push_back(new cmAddDefinitionsCommand);
  98. commands.push_back(new cmOptionCommand);
  99. }