cmCommands.h 531 B

123456789101112131415161718
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmCommands_h
  4. #define cmCommands_h
  5. #include <cmConfigure.h> // IWYU pragma: keep
  6. #include <vector>
  7. class cmCommand;
  8. /**
  9. * Global function to return all compiled in commands.
  10. * To add a new command edit cmCommands.cxx and add your command.
  11. * It is up to the caller to delete the commands created by this call.
  12. */
  13. std::vector<cmCommand*> GetPredefinedCommands();
  14. #endif