waitui/tests/library/list/CMakeLists.txt
Rick Barenthin 9e4c9eb0ea
All checks were successful
continuous-integration/drone/push Build is passing
feat(list): add generic list implementation
This pull request adds a list implementation that can be used
in a generic way and adds everything that might be needed in
later implementation of other data structurs.

Reviewed-on: #1
PR #1
2022-07-26 22:45:21 +02:00

16 lines
406 B
CMake

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