All checks were successful
continuous-integration/drone/push Build is passing
This is a generic hashtable implementation. Reviewed-on: #12 PR #12
16 lines
451 B
CMake
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()
|