mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-20 20:09:28 +08:00
mdbx-build: start using CMake (incomplete; no properly installation for now).
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
set(TARGET pcrf_test)
|
||||
project(${TARGET})
|
||||
|
||||
add_executable(${TARGET} pcrf_test.c)
|
||||
|
||||
target_include_directories(${TARGET} PRIVATE "${PROJECT_SOURCE_DIR}")
|
||||
target_link_libraries(${TARGET} mdbx)
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
(int)((addr) >> 24), (int)((addr) >> 16 & 0xff), (int)((addr) >> 8 & 0xff), \
|
||||
(int)((addr)&0xff)
|
||||
|
||||
char opt_db_path[PATH_MAX] = "/root/lmdbx_bench2";
|
||||
char opt_db_path[PATH_MAX] = "./lmdbx_bench2";
|
||||
static MDBX_env *env;
|
||||
#define REC_COUNT 10240000
|
||||
int64_t ids[REC_COUNT * 10];
|
||||
|
Reference in New Issue
Block a user