summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/libmdbx/tutorial
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-07 18:03:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-07 18:03:31 +0300
commitfe0a3147a8050a987281beb4b5e1481b982c93bc (patch)
tree799fed1bf1567b709086a1cf2d2c1fa3caaa9a4e /plugins/Dbx_mdbx/src/libmdbx/tutorial
parentdfbb53e55b6a537366182a134caccaf5f71569c8 (diff)
merge with libmdbx 0.1
Diffstat (limited to 'plugins/Dbx_mdbx/src/libmdbx/tutorial')
-rw-r--r--plugins/Dbx_mdbx/src/libmdbx/tutorial/CMakeLists.txt7
-rw-r--r--plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-bdb.txt2
-rw-r--r--plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-mdbx.c4
3 files changed, 10 insertions, 3 deletions
diff --git a/plugins/Dbx_mdbx/src/libmdbx/tutorial/CMakeLists.txt b/plugins/Dbx_mdbx/src/libmdbx/tutorial/CMakeLists.txt
new file mode 100644
index 0000000000..196f1f48d7
--- /dev/null
+++ b/plugins/Dbx_mdbx/src/libmdbx/tutorial/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(TARGET mdbx_tutorial)
+project(${TARGET})
+
+add_executable(${TARGET} sample-mdbx.c)
+
+target_link_libraries(${TARGET} mdbx)
+
diff --git a/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-bdb.txt b/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-bdb.txt
index 6e3a739d62..1015d06460 100644
--- a/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-bdb.txt
+++ b/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-bdb.txt
@@ -4,7 +4,7 @@
*/
/*
- * Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
+ * Copyright 2015-2018 Leonid Yuriev <leo@yuriev.ru>.
* Copyright 2012-2015 Howard Chu, Symas Corp.
* Copyright 2015,2016 Peter-Service R&D LLC.
* All rights reserved.
diff --git a/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-mdbx.c b/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-mdbx.c
index f5188cf423..aaafbc31cf 100644
--- a/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-mdbx.c
+++ b/plugins/Dbx_mdbx/src/libmdbx/tutorial/sample-mdbx.c
@@ -1,11 +1,11 @@
-/* sample-mdb.txt - MDB toy/sample
+/* sample-mdb.txt - MDB toy/sample
*
* Do a line-by-line comparison of this and sample-bdb.txt
*/
/*
* Copyright 2017 Ilya Shipitsin <chipitsine@gmail.com>.
- * Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
+ * Copyright 2015-2018 Leonid Yuriev <leo@yuriev.ru>.
* Copyright 2012-2015 Howard Chu, Symas Corp.
* All rights reserved.
*