mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
9cf9d6eac2
Change-Id: Ia5d164fde250e959226a53c63fcaf024ffe965a2
38 lines
497 B
CMake
38 lines
497 B
CMake
set(TARGET mdbx_test)
|
|
project(${TARGET})
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-declarations")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-cast-qual")
|
|
|
|
add_executable(${TARGET}
|
|
base.h
|
|
cases.cc
|
|
chrono.cc
|
|
chrono.h
|
|
config.cc
|
|
config.h
|
|
copy.cc
|
|
dead.cc
|
|
hill.cc
|
|
jitter.cc
|
|
keygen.cc
|
|
keygen.h
|
|
log.cc
|
|
log.h
|
|
main.cc
|
|
osal.h
|
|
osal-unix.cc
|
|
test.cc
|
|
test.h
|
|
try.cc
|
|
utils.cc
|
|
utils.h
|
|
append.cc
|
|
ttl.cc
|
|
)
|
|
|
|
target_link_libraries(${TARGET}
|
|
mdbx
|
|
)
|
|
|