OpenEXRConfig.h.cmakein 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //
  2. // Define and set to 1 if the target system supports a proc filesystem
  3. // compatible with the Linux kernel's proc filesystem. Note that this
  4. // is only used by a program in the IlmImfTest test suite, it's not
  5. // used by any OpenEXR library or application code.
  6. //
  7. #cmakedefine OPENEXR_IMF_HAVE_LINUX_PROCFS
  8. //
  9. // Define and set to 1 if the target system is a Darwin-based system
  10. // (e.g., OS X).
  11. //
  12. #cmakedefine OPENEXR_IMF_HAVE_DARWIN
  13. //
  14. // Define and set to 1 if the target system has a complete <iomanip>
  15. // implementation, specifically if it supports the std::right
  16. // formatter.
  17. //
  18. #cmakedefine OPENEXR_IMF_HAVE_COMPLETE_IOMANIP
  19. //
  20. // Define and set to 1 if the target system has support for large
  21. // stack sizes.
  22. //
  23. #cmakedefine OPENEXR_IMF_HAVE_LARGE_STACK
  24. //
  25. // Define if we can support GCC style inline asm with AVX instructions
  26. //
  27. #cmakedefine OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX
  28. //
  29. // Define if we can use sysconf(_SC_NPROCESSORS_ONLN) to get CPU count
  30. //
  31. #cmakedefine OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN
  32. //
  33. // Current internal library namepace name
  34. //
  35. #define OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM @OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM@
  36. #define OPENEXR_IMF_INTERNAL_NAMESPACE @OPENEXR_IMF_INTERNAL_NAMESPACE@
  37. //
  38. // Current public user namepace name
  39. //
  40. #define OPENEXR_IMF_NAMESPACE_CUSTOM @OPENEXR_IMF_NAMESPACE_CUSTOM@
  41. #define OPENEXR_IMF_NAMESPACE @OPENEXR_IMF_NAMESPACE@
  42. //
  43. // Version string for runtime access
  44. //
  45. #define OPENEXR_VERSION_STRING @OPENEXR_VERSION_STRING@
  46. #define OPENEXR_PACKAGE_STRING @OPENEXR_PACKAGE_STRING@
  47. #define OPENEXR_VERSION_MAJOR @OPENEXR_VERSION_MAJOR@
  48. #define OPENEXR_VERSION_MINOR @OPENEXR_VERSION_MINOR@
  49. #define OPENEXR_VERSION_PATCH @OPENEXR_VERSION_PATCH@
  50. // Version as a single hex number, e.g. 0x01000300 == 1.0.3
  51. #define OPENEXR_VERSION_HEX ((OPENEXR_VERSION_MAJOR << 24) | \
  52. (OPENEXR_VERSION_MINOR << 16) | \
  53. (OPENEXR_VERSION_PATCH << 8))