WConfig.h.in 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef WCONFIG_H
  2. #define WCONFIG_H
  3. // Version defines
  4. #define WT_SERIES ${VERSION_SERIES}
  5. #define WT_MAJOR ${VERSION_MAJOR}
  6. #define WT_MINOR ${VERSION_MINOR}
  7. /*! \brief A constant that encodes the library version of %Wt
  8. *
  9. * You may use this constant to check for the version of %Wt at build-time.
  10. */
  11. #define WT_VERSION (((WT_SERIES & 0xff) << 24) | ((WT_MAJOR & 0xff) << 16) | ((WT_MINOR & 0xff) << 8))
  12. #define WT_VERSION_STR "${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}"
  13. #define WT_CLASS "Wt${VERSION_SERIES}_${VERSION_MAJOR}_${VERSION_MINOR}"
  14. #define WT_INCLUDED_VERSION Wt_${VERSION_SERIES}_${VERSION_MAJOR}_${VERSION_MINOR}
  15. #define RUNDIR "${RUNDIR}"
  16. #define WT_CONFIG_XML "${CONFIGURATION}"
  17. #define WTHTTP_CONFIGURATION "${WTHTTP_CONFIGURATION}"
  18. #cmakedefine WT_STATIC
  19. #cmakedefine WTDBO_STATIC
  20. #cmakedefine WTDBOPOSTGRES_STATIC
  21. #cmakedefine WTDBOSQLITE3_STATIC
  22. #cmakedefine WTDBOFIREBIRD_STATIC
  23. #cmakedefine WTDBOMYSQL_STATIC
  24. #cmakedefine WTHTTP_STATIC
  25. #cmakedefine WT_EXT_STATIC
  26. #cmakedefine WT_EXT_STATIC
  27. #cmakedefine WT_HAS_WRASTERIMAGE
  28. #cmakedefine WT_HAS_WPDFIMAGE
  29. #cmakedefine WT_WITH_SSL
  30. #cmakedefine WT_NO_BOOST_INTRUSIVE
  31. #cmakedefine WT_NO_BOOST_RANDOM
  32. #cmakedefine WT_NO_STD_LOCALE
  33. #cmakedefine WT_NO_STD_WSTRING
  34. #cmakedefine WT_USE_OPENGL
  35. #cmakedefine WT_DEBUG_ENABLED
  36. #cmakedefine WT_THREADED
  37. #cmakedefine WT_USE_BOOST_SIGNALS
  38. #cmakedefine WT_USE_BOOST_SIGNALS2
  39. // our win32: WIN32 (gcc) or _WIN32 (MSC)
  40. #if defined(WIN32) || defined(_WIN32)
  41. #define WT_WIN32 1
  42. #endif
  43. #endif