2019-09-09 13:40:24 +03:00
|
|
|
/* This is CMake-template for libmdbx's config.h
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
/* *INDENT-OFF* */
|
2019-09-05 11:57:52 +03:00
|
|
|
/* clang-format off */
|
|
|
|
|
|
|
|
#cmakedefine HAVE_VALGRIND_MEMCHECK_H
|
2019-08-31 17:13:02 +03:00
|
|
|
#cmakedefine HAS_RELAXED_CONSTEXPR
|
|
|
|
|
|
|
|
#cmakedefine LTO_ENABLED
|
|
|
|
#cmakedefine ENABLE_VALGRIND
|
|
|
|
#cmakedefine ENABLE_GPROF
|
|
|
|
#cmakedefine ENABLE_GCOV
|
|
|
|
#cmakedefine ENABLE_ASAN
|
|
|
|
|
2019-09-03 02:24:19 +03:00
|
|
|
/* Common */
|
|
|
|
#cmakedefine01 MDBX_TXN_CHECKPID
|
|
|
|
#cmakedefine01 MDBX_TXN_CHECKOWNER
|
2019-09-05 11:57:52 +03:00
|
|
|
#cmakedefine01 MDBX_BUILD_SHARED_LIBRARY
|
2019-09-03 02:24:19 +03:00
|
|
|
|
|
|
|
/* Windows */
|
|
|
|
#cmakedefine01 MDBX_CONFIG_MANUAL_TLS_CALLBACK
|
2019-09-05 11:57:52 +03:00
|
|
|
#cmakedefine01 MDBX_AVOID_CRT
|
2019-09-03 02:24:19 +03:00
|
|
|
|
|
|
|
/* MacOS */
|
|
|
|
#cmakedefine01 MDBX_OSX_SPEED_INSTEADOF_DURABILITY
|
|
|
|
|
|
|
|
/* POSIX */
|
|
|
|
#cmakedefine01 MDBX_USE_ROBUST
|
|
|
|
#cmakedefine01 MDBX_USE_OFDLOCKS
|
|
|
|
|
|
|
|
/* Simulate "AUTO" values of tristate options */
|
2019-09-05 11:57:52 +03:00
|
|
|
#cmakedefine MDBX_TXN_CHECKPID_AUTO
|
|
|
|
#ifdef MDBX_TXN_CHECKPID_AUTO
|
|
|
|
#undef MDBX_TXN_CHECKPID
|
|
|
|
#endif
|
2019-09-03 02:24:19 +03:00
|
|
|
#cmakedefine MDBX_USE_ROBUST_AUTO
|
|
|
|
#ifdef MDBX_USE_ROBUST_AUTO
|
|
|
|
#undef MDBX_USE_ROBUST
|
|
|
|
#endif
|
|
|
|
#cmakedefine MDBX_USE_OFDLOCKS_AUTO
|
|
|
|
#ifdef MDBX_USE_OFDLOCKS_AUTO
|
|
|
|
#undef MDBX_USE_OFDLOCKS
|
|
|
|
#endif
|
2019-09-05 11:57:52 +03:00
|
|
|
|
|
|
|
/* Build Info */
|
|
|
|
#cmakedefine MDBX_BUILD_TIMESTAMP "@MDBX_BUILD_TIMESTAMP@"
|
|
|
|
#cmakedefine MDBX_BUILD_TARGET "@MDBX_BUILD_TARGET@"
|
|
|
|
#cmakedefine MDBX_BUILD_CONFIG "@MDBX_BUILD_CONFIG@"
|
|
|
|
#cmakedefine MDBX_BUILD_COMPILER "@MDBX_BUILD_COMPILER@"
|
|
|
|
#cmakedefine MDBX_BUILD_FLAGS "@MDBX_BUILD_FLAGS@"
|
|
|
|
#cmakedefine MDBX_BUILD_SOURCERY @MDBX_BUILD_SOURCERY@
|
|
|
|
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
/* clang-format on */
|