Files
FTL/src/api/CMakeLists.txt
T
2020-06-17 20:07:31 +02:00

29 lines
707 B
CMake

# Pi-hole: A black hole for Internet advertisements
# (c) 2020 Pi-hole, LLC (https://pi-hole.net)
# Network-wide ad blocking via your own hardware.
#
# FTL Engine
# /src/api/CMakeList.txt
#
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.
set(sources
auth.c
list.c
dns.c
dns.h
ftl.c
routes.c
routes.h
settings.c
stats_database.c
stats.c
version.c
)
add_library(api OBJECT ${sources})
add_dependencies(api gen_version)
target_compile_options(api PRIVATE ${EXTRAWARN})
target_include_directories(api PRIVATE ${PROJECT_SOURCE_DIR}/src)