cmCustomCommandTypes.h 590 B

123456789101112131415161718192021222324252627282930
  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 cmCustomCommandTypes_h
  4. #define cmCustomCommandTypes_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  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. };
  25. #endif