cmCustomCommandTypes.h 733 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. #include <string>
  7. /** Target custom command type */
  8. enum class cmCustomCommandType
  9. {
  10. PRE_BUILD,
  11. PRE_LINK,
  12. POST_BUILD
  13. };
  14. /** Where the command originated from. */
  15. enum class cmCommandOrigin
  16. {
  17. Project,
  18. Generator
  19. };
  20. /** How to handle custom commands for object libraries */
  21. enum class cmObjectLibraryCommands
  22. {
  23. Reject,
  24. Accept
  25. };
  26. /** Utility target output source file name. */
  27. struct cmUtilityOutput
  28. {
  29. std::string Name;
  30. std::string NameCMP0049;
  31. };
  32. #endif