1
0

cprver.h.in 754 B

123456789101112131415161718192021222324252627282930
  1. #ifndef CPR_CPRVER_H
  2. #define CPR_CPRVER_H
  3. /**
  4. * CPR version as a string.
  5. **/
  6. #define CPR_VERSION "${cpr_VERSION}"
  7. /**
  8. * CPR version split up into parts.
  9. **/
  10. #define CPR_VERSION_MAJOR ${cpr_VERSION_MAJOR}
  11. #define CPR_VERSION_MINOR ${cpr_VERSION_MINOR}
  12. #define CPR_VERSION_PATCH ${cpr_VERSION_PATCH}
  13. /**
  14. * CPR version as a single hex digit.
  15. * it can be split up into three parts:
  16. * 0xAABBCC
  17. * AA: The current CPR major version number in a hex format.
  18. * BB: The current CPR minor version number in a hex format.
  19. * CC: The current CPR patch version number in a hex format.
  20. *
  21. * Examples:
  22. * '0x010702' -> 01.07.02 -> CPR_VERSION: 1.7.2
  23. * '0xA13722' -> A1.37.22 -> CPR_VERSION: 161.55.34
  24. **/
  25. #define CPR_VERSION_NUM ${cpr_VERSION_NUM}
  26. #endif