waitui/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

22 lines
519 B
CMake

cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
include("project-meta-info.in")
project(waitui-list
VERSION ${project_version}
DESCRIPTION ${project_description}
HOMEPAGE_URL ${project_homepage}
LANGUAGES C)
add_library(list OBJECT)
target_sources(list
PRIVATE
"src/list.c"
PUBLIC
"include/waitui/list.h"
"include/waitui/list_generic.h"
"include/waitui/list_generic_impl.h"
)
target_include_directories(list PUBLIC "include")