2018-11-04 23:57:36 +08:00
|
|
|
|
set(TARGET mdbx_test)
|
2018-01-04 14:27:09 +08:00
|
|
|
|
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}
|
2018-11-04 23:57:36 +08:00
|
|
|
|
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
|
2019-02-04 03:37:57 +08:00
|
|
|
|
append.cc
|
2019-06-22 03:42:45 +08:00
|
|
|
|
ttl.cc
|
2018-11-04 23:57:36 +08:00
|
|
|
|
)
|
2018-01-04 14:27:09 +08:00
|
|
|
|
|
|
|
|
|
target_link_libraries(${TARGET}
|
2018-11-04 23:57:36 +08:00
|
|
|
|
mdbx
|
|
|
|
|
)
|
2018-01-04 14:27:09 +08:00
|
|
|
|
|