mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
ae035c4ba7
Signed-off-by: DL6ER <dl6er@dl6er.de>
29 lines
707 B
CMake
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)
|