libscan/CMakeLists.txt
2020-03-25 09:44:34 -04:00

33 lines
486 B
CMake

cmake_minimum_required(VERSION 3.15)
project(scan C)
set(CMAKE_C_STANDARD 11)
add_library(
scan
src/text.c src/text.h
src/util.c src/util.h
src/types.h
src/macros.h
third-party/utf8.h
)
# Third party
add_subdirectory(third-party/uuid/)
target_include_directories(
scan PRIVATE
third-party/uuid/src/
)
target_compile_options(
scan PRIVATE
-Werror
)
target_link_libraries(
scan
uuid
)