cmCustomCommandTypes.h 552 B

1234567891011121314151617181920212223242526272829
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include "cmConfigure.h" // IWYU pragma: keep
  5. #include <string>
  6. /** Target custom command type */
  7. enum class cmCustomCommandType
  8. {
  9. PRE_BUILD,
  10. PRE_LINK,
  11. POST_BUILD
  12. };
  13. /** Where the command originated from. */
  14. enum class cmCommandOrigin
  15. {
  16. Project,
  17. Generator
  18. };
  19. /** How to handle custom commands for object libraries */
  20. enum class cmObjectLibraryCommands
  21. {
  22. Reject,
  23. Accept
  24. };