chiaki/test/CMakeLists.txt
2020-07-12 19:29:29 +02:00

22 lines
390 B
CMake

add_library(munit "${CMAKE_CURRENT_SOURCE_DIR}/munit/munit.c")
target_include_directories(munit PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/munit")
add_executable(chiaki-unit
main.c
http.c
rpcrypt.c
gkcrypt.c
takion.c
seqnum.c
keystate.c
reorderqueue.c
fec.c
test_log.c
test_log.h
regist.c)
target_link_libraries(chiaki-unit chiaki-lib munit)
add_test(unit chiaki-unit)