forked from boazsegev/facil.io
-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
43 lines (39 loc) · 1016 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
project(facil.io C)
cmake_minimum_required(VERSION 2.4)
find_package(Threads REQUIRED)
set(facil.io_SOURCES
lib/facil/fio.c
lib/facil/tls/fio_tls_missing.c
lib/facil/tls/fio_tls_openssl.c
lib/facil/fiobj/fio_siphash.c
lib/facil/fiobj/fiobj_ary.c
lib/facil/fiobj/fiobj_data.c
lib/facil/fiobj/fiobj_hash.c
lib/facil/fiobj/fiobj_json.c
lib/facil/fiobj/fiobj_mustache.c
lib/facil/fiobj/fiobj_numbers.c
lib/facil/fiobj/fiobj_str.c
lib/facil/fiobj/fiobject.c
lib/facil/cli/fio_cli.c
lib/facil/http/http.c
lib/facil/http/http1.c
lib/facil/http/http_internal.c
lib/facil/http/websockets.c
lib/facil/redis/redis_engine.c
)
add_library(facil.io ${facil.io_SOURCES})
target_link_libraries(facil.io
PRIVATE Threads::Threads
PUBLIC pthread
PUBLIC m
)
target_include_directories(facil.io
PUBLIC lib
PUBLIC lib/facil
PUBLIC lib/facil/tls
PUBLIC lib/facil/fiobj
PUBLIC lib/facil/cli
PUBLIC lib/facil/http
PUBLIC lib/facil/http/parsers
PUBLIC lib/facil/redis
)