summaryrefslogtreecommitdiff
path: root/libs/libmdbx
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2018-11-21 21:19:46 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-07-12 18:09:25 +0300
commit7db552400ebad470365c95c81ba8cfbaef51d599 (patch)
treee836b342e33ed6ad4abdd51ee8ad36a731cd9f3a /libs/libmdbx
parent4859b560b6a7b0ea7490b1dceab417deb55ce4a0 (diff)
CMake: libmdbx build.
Diffstat (limited to 'libs/libmdbx')
-rw-r--r--libs/libmdbx/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libmdbx/CMakeLists.txt b/libs/libmdbx/CMakeLists.txt
new file mode 100644
index 0000000000..272ebb9bf8
--- /dev/null
+++ b/libs/libmdbx/CMakeLists.txt
@@ -0,0 +1,6 @@
+file(GLOB SOURCES "src/src/lck-windows.c" "src/src/mdbx.c"
+"src/src/osal.c" "src/src/version.c" "src/*.h")
+set(TARGET libmdbx)
+include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
+
+set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MDBX_CONFIG_MANUAL_TLS_CALLBACK=1;MDBX_DEBUG=1;LIBMDBX_EXPORTS") \ No newline at end of file