diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e5e8927..6442c4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,4 +33,11 @@ install( LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} -)
\ No newline at end of file +) + +add_executable(test_locusts tests/test_locusts.c) +target_link_libraries(test_locusts PRIVATE ocusts) + +enable_testing() + +add_test(NAME test_locusts COMMAND test_locusts)
\ No newline at end of file |