cmCommands.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmCommands_h
  11. #define cmCommands_h
  12. #include "cmStandardIncludes.h"
  13. #include <list>
  14. class cmCommand;
  15. /**
  16. * Global function to return all compiled in commands.
  17. * To add a new command edit cmCommands.cxx or cmBootstrapCommands[12].cxx
  18. * and add your command.
  19. * It is up to the caller to delete the commands created by this
  20. * call.
  21. */
  22. void GetBootstrapCommands1(std::list<cmCommand*>& commands);
  23. void GetBootstrapCommands2(std::list<cmCommand*>& commands);
  24. void GetPredefinedCommands(std::list<cmCommand*>& commands);
  25. #endif