IlmBaseConfig.h.cmakein 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #cmakedefine PLATFORM_WINDOWS
  2. //
  3. // Define and set to 1 if the target system has c++11/14 support
  4. // and you want IlmBase to NOT use it's features
  5. //
  6. #cmakedefine01 ILMBASE_FORCE_CXX03
  7. #if ILMBASE_FORCE_CXX03 == 0
  8. #undef ILMBASE_FORCE_CXX03
  9. #endif
  10. //
  11. // Define and set to 1 if the target system has POSIX thread support
  12. // and you want IlmBase to use it for multithreaded file I/O.
  13. //
  14. #cmakedefine01 HAVE_PTHREAD
  15. //
  16. // Define and set to 1 if the target system supports POSIX semaphores
  17. // and you want OpenEXR to use them; otherwise, OpenEXR will use its
  18. // own semaphore implementation.
  19. //
  20. #cmakedefine01 HAVE_POSIX_SEMAPHORES
  21. #cmakedefine HAVE_UCONTEXT_H
  22. //
  23. // Dealing with FPEs
  24. //
  25. #cmakedefine01 ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT
  26. //
  27. // Define and set to 1 if the target system has support for large
  28. // stack sizes.
  29. //
  30. #cmakedefine ILMBASE_HAVE_LARGE_STACK
  31. //
  32. // Current (internal) library namepace name and corresponding public
  33. // client namespaces.
  34. //
  35. #define ILMBASE_INTERNAL_NAMESPACE_CUSTOM @ILMBASE_INTERNAL_NAMESPACE_CUSTOM@
  36. #define IMATH_INTERNAL_NAMESPACE @IMATH_INTERNAL_NAMESPACE@
  37. #define IEX_INTERNAL_NAMESPACE @IEX_INTERNAL_NAMESPACE@
  38. #define ILMTHREAD_INTERNAL_NAMESPACE @ILMTHREAD_INTERNAL_NAMESPACE@
  39. #define ILMBASE_NAMESPACE_CUSTOM @ILMBASE_NAMESPACE_CUSTOM@
  40. #define IMATH_NAMESPACE @IMATH_NAMESPACE@
  41. #define IEX_NAMESPACE @IEX_NAMESPACE@
  42. #define ILMTHREAD_NAMESPACE @ILMTHREAD_NAMESPACE@
  43. //
  44. // Define and set to 1 if the target system has support for large
  45. // stack sizes.
  46. //
  47. #cmakedefine ILMBASE_HAVE_LARGE_STACK
  48. //
  49. // Version information
  50. //
  51. #define ILMBASE_VERSION_STRING @ILMBASE_VERSION_STRING@
  52. #define ILMBASE_PACKAGE_STRING @ILMBASE_PACKAGE_STRING@
  53. #define ILMBASE_VERSION_MAJOR @ILMBASE_VERSION_MAJOR@
  54. #define ILMBASE_VERSION_MINOR @ILMBASE_VERSION_MINOR@
  55. #define ILMBASE_VERSION_PATCH @ILMBASE_VERSION_PATCH@
  56. // Version as a single hex number, e.g. 0x01000300 == 1.0.3
  57. #define ILMBASE_VERSION_HEX ((ILMBASE_VERSION_MAJOR << 24) | \
  58. (ILMBASE_VERSION_MINOR << 16) | \
  59. (ILMBASE_VERSION_PATCH << 8))