mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-23 21:14:28 +08:00
Add CMake support
This commit is contained in:
42
src/tools/CMakeLists.txt
Normal file
42
src/tools/CMakeLists.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
project(mdbx_tools)
|
||||
|
||||
add_executable(mdbx_chk
|
||||
mdbx_chk.c
|
||||
)
|
||||
|
||||
target_link_libraries(mdbx_chk
|
||||
libmdbx
|
||||
)
|
||||
|
||||
add_executable(mdbx_copy
|
||||
mdbx_copy.c
|
||||
)
|
||||
|
||||
target_link_libraries(mdbx_copy
|
||||
libmdbx
|
||||
)
|
||||
|
||||
add_executable(mdbx_dump
|
||||
mdbx_dump.c
|
||||
)
|
||||
|
||||
target_link_libraries(mdbx_dump
|
||||
libmdbx
|
||||
)
|
||||
|
||||
|
||||
add_executable(mdbx_load
|
||||
mdbx_load.c
|
||||
)
|
||||
|
||||
target_link_libraries(mdbx_load
|
||||
libmdbx
|
||||
)
|
||||
|
||||
add_executable(mdbx_stat
|
||||
mdbx_stat.c
|
||||
)
|
||||
|
||||
target_link_libraries(mdbx_stat
|
||||
libmdbx
|
||||
)
|
Reference in New Issue
Block a user