Леонид Юрьев (Leonid Yuriev)
5ebcb90620
mdbx-cmake: rework linking detection for std::filesystem
.
2022-04-07 21:57:49 +03:00
Леонид Юрьев (Leonid Yuriev)
c9dfb7d8c2
mdbx-cmake: add workaround for LCC 1.25 bug of class inline static constexpr
member field definition.
2022-04-06 12:43:58 +03:00
Леонид Юрьев (Leonid Yuriev)
f054ceeab8
mdbx-cmake: add linking with stdc++fs
for LCC < 1.26
2022-04-06 12:43:58 +03:00
Leonid Yuriev
79e1cc3bbc
mdbx: add workaround for old MSVC and/or old Windows SDK.
...
Resolves https://github.com/erthink/libmdbx/issues/265 .
Change-Id: I295b5d9d5ecd670ccf258791bf87379a3ca17f21
2022-02-01 13:28:59 +03:00
Leonid Yuriev
c588af6aca
mdbx: update Copyright year.
...
Change-Id: Ib3e4c0ac94882c4b2a1e167dd98e6e26dbdf48a4
2022-01-17 11:06:14 +03:00
Leonid Yuriev
32e495021f
mdbx-cmake: reporting the build options (cosmetics).
2021-12-10 17:17:34 +03:00
Леонид Юрьев (Leonid Yuriev)
ca19796514
mdbx-cmake: disable C++20 for CLANG < 10.
2021-12-09 15:54:16 +03:00
Леонид Юрьев (Leonid Yuriev)
c2cab7a6a8
mdbx: using clang-format-13
(cosmetics).
2021-12-02 20:22:31 +03:00
Leonid Yuriev
86c735637e
mdbx-cmake: add MDBX_FORCE_BUILD_AS_MAIN_PROJECT
.
2021-11-19 16:21:40 +03:00
Leonid Yuriev
c456625ef2
mdbx-cmake: initial support for C++23.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
630ef98951
mdbx-cmake: allow to define CMAKE_CXX_STANDARD
by the environment variable.
2021-11-07 02:18:56 +03:00
Leonid Yuriev
4bb0c57e29
mdbx: minor fixes/workarounds for CLANG < 9.x
2021-08-04 15:43:32 +03:00
Leonid Yuriev
a9cae5e314
mdbx-cmake: avoid CMake warning about compatibility with 3.8.2
2021-08-04 14:09:47 +03:00
Leonid Yuriev
cc6610f42c
mdbx: more/refine C++ crutches for mad MSVC compiler.
2021-06-24 15:42:03 +03:00
Leonid Yuriev
77a1f32e2a
mdbx: use VERSION.txt
instead of VERSION
to avoid collision with #include <version>
.
2021-06-24 14:59:29 +03:00
Leonid Yuriev
d47864dedf
mdbx-cmake: use GNUInstallDirs
variables for all cases.
...
Resolves https://github.com/erthink/libmdbx/issues/209 .
2021-06-17 17:21:20 +03:00
Leonid Yuriev
f951f246b8
mdbx: allow to predefine/override MDBX_BUILD_TIMESTAMP
for builds reproducibility.
...
Resolve https://github.com/erthink/libmdbx/issues/201
2021-06-02 14:50:22 +03:00
Leonid Yuriev
7addfc8358
mdbx: explicit checking for and warning about using unfit github's archives.
...
Related to https://github.com/erthink/libmdbx/issues/197 and https://github.community/t/disable-tarball
2021-05-13 12:19:18 +03:00
Leonid Yuriev
605326b6e8
mdbx-cmake: don't specify filename extension while linking with ntdll
.
2021-05-11 08:07:42 +03:00
Leonid Yuriev
ecd3c06932
mdbx-windows: remove MDBX_CONFIG_MANUAL_TLS_CALLBACK
build option and add MDBX_MANUAL_MODULE_HANDLER
macro.
...
Briefly:
- Now constructor/destructor of "Thread Local Storage" handled automatically when possible.
- Otherwise the MDBX_CONFIG_MANUAL_TLS_CALLBACK macro defined to 1 to indicate that mdbx_module_handle() should be called manually.
- Corresponding build option MDBX_CONFIG_MANUAL_TLS_CALLBACK was removed.
Related to https://github.com/erthink/libmdbx/issues/155
Change-Id: Ic4e6a34b44f874676f0ab212ff473460e3d80559
2021-05-08 18:39:18 +03:00
Leonid Yuriev
d27e48ae1b
mdbx-windows: rename MDBX_AVOID_CRT
build option to MDBX_DISABLE_MSVC_CRT
.
...
Change-Id: I124c9d86d4a596718bd9671a7c1b538b84c2dd0f
2021-04-30 01:59:48 +03:00
Leonid Yuriev
84d154d732
mdbx-cmake: set MDBX_ALLOY_BUILD=OFF for Debug build by default.
2021-04-20 22:09:48 +03:00
Leonid Yuriev
f01e0efc2d
mdbx-tools: add mdbx_drop
tool.
...
Change-Id: Ib7b32668c13fcef5951ff7250df57b3263e14d69
2021-03-13 15:45:15 +03:00
Leonid Yuriev
3fd739ea2c
mdbx: add MDBX_DISABLE_PAGECHECKS
build option.
...
Change-Id: Ia5e2727b74961e7f829f273225c5c1a6cc764b8e
2021-02-07 02:53:54 +03:00
Leonid Yuriev
251eda6fb8
mdbx: HNY!
...
Change-Id: I86c7028001b349e3d06b837dc8e2f7e60fb3b1a2
2021-01-26 07:27:13 +03:00
Leonid Yuriev
84235c7903
mdbx: drop unnecessary MDBX_HUGE_TRANSACTIONS
option.
...
Change-Id: I86116c2bada268d6e0a5c97deff808aaffe3e599
2020-12-03 17:17:28 +03:00
Leonid Yuriev
5282f99bd6
mdbx-cmake: allow predefine MDBX_C_STANDARD
.
...
Change-Id: I9895c8afff7fd80bd25292faef0e88fe2002ff21
2020-11-29 05:49:20 +03:00
Leonid Yuriev
11fde67edc
mdbx-cmake: crutch for MSVC 19.28 (Visual Studio 16.8).
...
Change-Id: I8fdb665d103031dc5e0c4b7963bc5eb65853a82f
2020-11-17 13:59:29 +03:00
Leonid Yuriev
015ed5bc98
mdbx-cmake: minor fix MDBX_BUILD_FLAGS
preparation.
...
Change-Id: I91eebdffd06b4239ccc2dccd0931b3f82f0b5f52
2020-11-17 13:51:10 +03:00
Leonid Yuriev
787eaaa373
mdbx-cmake: pthread workaround for buggy toolchain/cmake/buildroot.
...
Change-Id: I0d95e783abbd10a63cd1595a9de50593e814a967
2020-10-05 19:15:18 +03:00
Leonid Yuriev
dc2cd19d56
mdbx-cmake: fix missing installation of mdbx.h++
...
Change-Id: I41975e4eeff6583a266b273b9a4f8486982ede90
2020-10-02 00:05:02 +03:00
Leonid Yuriev
309f9a3172
mdbx-cmake: cosmetic fix for MDBX_BUILD_TYPE
.
...
Change-Id: I26bfa69e268934d530acb1c85777d385730d573b
2020-09-30 04:01:48 +03:00
Leonid Yuriev
10c50aaf2e
mdbx-cmake: minor refine MDBX_BUILD_TARGET/MDBX_BUILD_TYPE, etc.
...
Change-Id: I34f99c50ced56b310576743c56422a1e1992c03b
2020-09-29 20:59:55 +03:00
Leonid Yuriev
cea56c3840
mdbx-cmake: makes an C++ compiler optional.
...
Change-Id: Id1445a95e4a458012e77e1e505563025f0471487
2020-09-27 17:01:59 +03:00
Leonid Yuriev
2c088a17c4
mdbx-cmake: refine options' section.
...
Change-Id: I83633f43275cffed02610fadafd034513ddd3da9
2020-09-27 17:01:59 +03:00
Leonid Yuriev
2138fccfec
mdbx-cmake: remove dups.
...
Change-Id: I1909ac16b1dcb55c9356283bf5fff94c1c8f7b4e
2020-09-27 17:01:59 +03:00
Leonid Yuriev
c5bee38e28
mdbx-cmake: customizable destination for bin/lib/man.
...
Change-Id: I7ffff8593ec741b134ca575a01efeaef3f873eeb
2020-09-27 17:01:59 +03:00
Leonid Yuriev
860aa017db
mdbx: Merge branch 'master' into devel.
...
Change-Id: Ic130cd181097332aa2f49019d75403e18d8cba0d
2020-09-25 01:14:57 +03:00
Josh Soref
448728f584
mdbx: a lot of spelling (squashed).
...
Many Thanks to Josh Soref for these fixes.
https://github.com/jsoref
Resolves https://github.com/erthink/libmdbx/pull/118 .
Change-Id: I4e09347da5c9d7a77cdd918a3b15284371440076
2020-09-25 01:01:25 +03:00
Leonid Yuriev
17d9ed31f9
mdbx: support for building by GCC 4.8
...
Change-Id: I4ad5c5be60233ae68936e0cbca1a0f01ec786bad
2020-09-13 21:22:41 +03:00
Leonid Yuriev
88a4b8cb9b
mdbx++: Initial C++ API (some extra methods are not implemented).
...
Change-Id: I0478d0c94dcd12b52916e87815e5731817407c3c
2020-08-28 16:45:30 +03:00
Leonid Yuriev
0387d6f6d4
mdbx: rename MDBX_ENV_CHECKPID.
...
Change-Id: Id0afbea99b0747c6d7a5062c1c4a82ebc69f4f40
2020-07-31 01:33:16 +03:00
Leonid Yuriev
95199c754a
mdbx-cmake: fixes for old C/C++ compilers and/or CMake.
2020-06-26 03:28:15 +03:00
Leonid Yuriev
e008f3132d
mdbx: support for huge transactions (MDBX_HUGE_TRANSACTIONS option).
...
Change-Id: I5d6cce6a7fb816add8cb4c066cc50f31cdebf9d5
2020-06-13 03:06:20 +03:00
Leonid Yuriev
5b4b3fa9ea
mdbx-windows: fix MDBX_AVOID_CRT option & ntdll.def distribution.
...
Resolve https://github.com/erthink/libmdbx/issues/100
Change-Id: I18ab055e79e249fca856353b2585739c88e01758
2020-05-10 03:41:28 +03:00
Leonid Yuriev
c99f258a47
mdbx-make: don't use clang-format < 10 to avoid misformating.
...
Change-Id: I58d3b5071011a106b1801a1bd966f5c2d8354fcb
2020-05-09 02:46:35 +03:00
Leonid Yuriev
cc4e0f2642
mdbx-cmake: reformat install section.
...
Change-Id: Id06fe24d46b5afade52dedbda747a7c8fb631263
2020-05-01 21:56:10 +03:00
Leonid Yuriev
5edf164e8b
mdbx-cmake: update utils.
...
Change-Id: I272e6eb623251733af60e93907d23d5f3d6f7f25
2020-04-30 16:59:52 +03:00
Leonid Yuriev
90bf7eb817
mdbx: fix/refine MDBX_BUILD_SHARED_LIBRARY definition.
...
Change-Id: If4e3d32b0ce360eb7275d962fff4b31e53926054
2020-04-17 00:37:57 +03:00
Leonid Yuriev
971f924c44
mdbx-build: rearrange source files, rework CMakeLists.txt and refine GNUMakefile (squashed).
...
Change-Id: Id73d346695011dab2f670bb9e6293a1e5a1835ca
2020-04-17 00:37:57 +03:00