cmCommands.cxx 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 "cmAddTargetCommand.cxx"
  8. #include "cmAuxSourceDirectoryCommand.cxx"
  9. #include "cmExecutablesCommand.cxx"
  10. #include "cmFindIncludeCommand.cxx"
  11. #include "cmFindLibraryCommand.cxx"
  12. #include "cmFindProgramCommand.cxx"
  13. #include "cmIncludeDirectoryCommand.cxx"
  14. #include "cmLibraryCommand.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 "cmConfigureFileNoAutoconf.cxx"
  27. #include "cmCableCommand.cxx"
  28. #include "cmCableData.cxx"
  29. #include "cmCableDefineSetCommand.cxx"
  30. #include "cmCableOpenNamespaceCommand.cxx"
  31. #include "cmCableCloseNamespaceCommand.cxx"
  32. #include "cmCablePackageCommand.cxx"
  33. #include "cmCablePackageEntryCommand.cxx"
  34. #include "cmCableSourceFilesCommand.cxx"
  35. #include "cmCableWrapCommand.cxx"
  36. #include "cmCableInstantiateCommand.cxx"
  37. #include "cmCableInstantiateClassCommand.cxx"
  38. #include "cmFindFileCommand.cxx"
  39. #include "cmWrapExcludeFilesCommand.cxx"
  40. #include "cmWrapTclCommand.cxx"
  41. #include "cmBuildSharedLibrariesCommand.cxx"
  42. void GetPredefinedCommands(std::list<cmCommand*>& commands)
  43. {
  44. commands.push_back(new cmAbstractFilesCommand);
  45. commands.push_back(new cmAddTargetCommand);
  46. commands.push_back(new cmAuxSourceDirectoryCommand);
  47. commands.push_back(new cmExecutablesCommand);
  48. commands.push_back(new cmFindIncludeCommand);
  49. commands.push_back(new cmFindLibraryCommand);
  50. commands.push_back(new cmFindProgramCommand);
  51. commands.push_back(new cmIncludeDirectoryCommand);
  52. commands.push_back(new cmLibraryCommand);
  53. commands.push_back(new cmLinkDirectoriesCommand);
  54. commands.push_back(new cmLinkLibrariesCommand);
  55. commands.push_back(new cmProjectCommand);
  56. commands.push_back(new cmSourceFilesCommand);
  57. commands.push_back(new cmSourceFilesRequireCommand);
  58. commands.push_back(new cmSubdirCommand);
  59. commands.push_back(new cmTestsCommand);
  60. commands.push_back(new cmUnixDefinesCommand);
  61. commands.push_back(new cmUnixLibrariesCommand);
  62. commands.push_back(new cmWin32DefinesCommand);
  63. commands.push_back(new cmWin32LibrariesCommand);
  64. commands.push_back(new cmConfigureFileNoAutoconf);
  65. commands.push_back(new cmCableDefineSetCommand);
  66. commands.push_back(new cmCableOpenNamespaceCommand);
  67. commands.push_back(new cmCableCloseNamespaceCommand);
  68. commands.push_back(new cmCablePackageCommand);
  69. commands.push_back(new cmCableSourceFilesCommand);
  70. commands.push_back(new cmCableWrapCommand);
  71. commands.push_back(new cmCableInstantiateCommand);
  72. commands.push_back(new cmCableInstantiateClassCommand);
  73. commands.push_back(new cmFindFileCommand);
  74. commands.push_back(new cmWrapExcludeFilesCommand);
  75. commands.push_back(new cmWrapTclCommand);
  76. commands.push_back(new cmBuildSharedLibrariesCommand);
  77. }