cmCommands.cxx 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. void GetPredefinedCommands(std::list<cmCommand*>& commands)
  28. {
  29. commands.push_back(new cmAbstractFilesCommand);
  30. commands.push_back(new cmAddTargetCommand);
  31. commands.push_back(new cmAuxSourceDirectoryCommand);
  32. commands.push_back(new cmExecutablesCommand);
  33. commands.push_back(new cmFindIncludeCommand);
  34. commands.push_back(new cmFindLibraryCommand);
  35. commands.push_back(new cmFindProgramCommand);
  36. commands.push_back(new cmIncludeDirectoryCommand);
  37. commands.push_back(new cmLibraryCommand);
  38. commands.push_back(new cmLinkDirectoriesCommand);
  39. commands.push_back(new cmLinkLibrariesCommand);
  40. commands.push_back(new cmProjectCommand);
  41. commands.push_back(new cmSourceFilesCommand);
  42. commands.push_back(new cmSourceFilesRequireCommand);
  43. commands.push_back(new cmSubdirCommand);
  44. commands.push_back(new cmTestsCommand);
  45. commands.push_back(new cmUnixDefinesCommand);
  46. commands.push_back(new cmUnixLibrariesCommand);
  47. commands.push_back(new cmWin32DefinesCommand);
  48. commands.push_back(new cmWin32LibrariesCommand);
  49. commands.push_back(new cmConfigureFileNoAutoconf);
  50. }