2020-10-28 03:18:10 +00:00
|
|
|
/* This is CMake-template for libmdbx's config.h
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
/* *INDENT-OFF* */
|
|
|
|
/* clang-format off */
|
|
|
|
|
|
|
|
#cmakedefine LTO_ENABLED
|
|
|
|
#cmakedefine MDBX_USE_VALGRIND
|
|
|
|
#cmakedefine ENABLE_GPROF
|
|
|
|
#cmakedefine ENABLE_GCOV
|
|
|
|
#cmakedefine ENABLE_ASAN
|
2021-02-01 13:57:41 +00:00
|
|
|
#cmakedefine ENABLE_UBSAN
|
2021-05-06 03:51:49 +00:00
|
|
|
#cmakedefine01 MDBX_FORCE_ASSERTIONS
|
2020-10-28 03:18:10 +00:00
|
|
|
|
|
|
|
/* Common */
|
|
|
|
#cmakedefine01 MDBX_TXN_CHECKOWNER
|
|
|
|
#cmakedefine MDBX_ENV_CHECKPID_AUTO
|
|
|
|
#ifndef MDBX_ENV_CHECKPID_AUTO
|
|
|
|
#cmakedefine01 MDBX_ENV_CHECKPID
|
|
|
|
#endif
|
|
|
|
#cmakedefine MDBX_LOCKING_AUTO
|
|
|
|
#ifndef MDBX_LOCKING_AUTO
|
|
|
|
#cmakedefine MDBX_LOCKING @MDBX_LOCKING@
|
|
|
|
#endif
|
|
|
|
#cmakedefine MDBX_TRUST_RTC_AUTO
|
|
|
|
#ifndef MDBX_TRUST_RTC_AUTO
|
|
|
|
#cmakedefine01 MDBX_TRUST_RTC
|
|
|
|
#endif
|
2021-02-08 04:35:02 +00:00
|
|
|
#cmakedefine01 MDBX_DISABLE_PAGECHECKS
|
2020-10-28 03:18:10 +00:00
|
|
|
|
|
|
|
/* Windows */
|
2021-05-06 03:51:49 +00:00
|
|
|
#cmakedefine01 MDBX_WITHOUT_MSVC_CRT
|
2020-10-28 03:18:10 +00:00
|
|
|
|
|
|
|
/* MacOS & iOS */
|
|
|
|
#cmakedefine01 MDBX_OSX_SPEED_INSTEADOF_DURABILITY
|
|
|
|
|
|
|
|
/* POSIX */
|
|
|
|
#cmakedefine01 MDBX_DISABLE_GNU_SOURCE
|
|
|
|
#cmakedefine MDBX_USE_OFDLOCKS_AUTO
|
|
|
|
#ifndef MDBX_USE_OFDLOCKS_AUTO
|
|
|
|
#cmakedefine01 MDBX_USE_OFDLOCKS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Build Info */
|
|
|
|
#ifndef MDBX_BUILD_TIMESTAMP
|
|
|
|
#cmakedefine MDBX_BUILD_TIMESTAMP "@MDBX_BUILD_TIMESTAMP@"
|
|
|
|
#endif
|
|
|
|
#ifndef MDBX_BUILD_TARGET
|
|
|
|
#cmakedefine MDBX_BUILD_TARGET "@MDBX_BUILD_TARGET@"
|
|
|
|
#endif
|
|
|
|
#ifndef MDBX_BUILD_TYPE
|
|
|
|
#cmakedefine MDBX_BUILD_TYPE "@MDBX_BUILD_TYPE@"
|
|
|
|
#endif
|
|
|
|
#ifndef MDBX_BUILD_COMPILER
|
|
|
|
#cmakedefine MDBX_BUILD_COMPILER "@MDBX_BUILD_COMPILER@"
|
|
|
|
#endif
|
|
|
|
#ifndef MDBX_BUILD_FLAGS
|
|
|
|
#cmakedefine MDBX_BUILD_FLAGS "@MDBX_BUILD_FLAGS@"
|
|
|
|
#endif
|
|
|
|
#cmakedefine MDBX_BUILD_SOURCERY @MDBX_BUILD_SOURCERY@
|
|
|
|
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
/* clang-format on */
|