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

22 lines
509 B
CMake

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