cmCommands.h 554 B

1234567891011121314151617
  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. class cmState;
  6. /**
  7. * Global function to register all compiled in commands.
  8. * To add a new command edit cmCommands.cxx and add your command.
  9. * It is up to the caller to delete the commands created by this call.
  10. */
  11. void GetScriptingCommands(cmState* state);
  12. void GetProjectCommands(cmState* state);
  13. void GetProjectCommandsInScriptMode(cmState* state);
  14. #endif