mirror of https://github.com/oxen-io/oxen-mq.git
14 lines
213 B
CMake
14 lines
213 B
CMake
|
|
||
|
add_subdirectory(Catch2)
|
||
|
|
||
|
set(LMQ_TEST_SRC
|
||
|
main.cpp
|
||
|
test_batch.cpp
|
||
|
)
|
||
|
|
||
|
add_executable(tests ${LMQ_TEST_SRC})
|
||
|
|
||
|
target_link_libraries(tests Catch2::Catch2 lokimq)
|
||
|
|
||
|
add_custom_target(check COMMAND tests)
|