waitui/tests/library/hashtable/CMakeLists.txt
Rick Barenthin 219812f20e
All checks were successful
continuous-integration/drone/push Build is passing
feat(hashtable): add a hashtable implementation
This is a generic hashtable implementation.

Reviewed-on: #12
PR #12
2022-07-27 19:10:09 +02:00

16 lines
451 B
CMake

add_executable(waitui-test_hashtable)
target_sources(waitui-test_hashtable
PRIVATE
"test_hashtable.c"
)
target_link_libraries(waitui-test_hashtable PRIVATE hashtable)
add_test(NAME waitui-test_hashtable COMMAND waitui-test_hashtable)
if(ENABLE_TEST_COVERAGE)
target_compile_options(hashtable PUBLIC -O0 -g -fprofile-arcs -ftest-coverage)
target_link_options(hashtable PUBLIC -fprofile-arcs -ftest-coverage)
endif()