-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
40 lines (33 loc) · 827 Bytes
/
CMakeLists.txt
File metadata and controls
40 lines (33 loc) · 827 Bytes
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
cmake_minimum_required(VERSION 2.8.11)
project(henhouse)
add_definitions(-std=c++17)
add_definitions(-fPIC)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)
include_directories(.)
include_directories(..)
#setup boost
set(Boost_USE_STATIC_LIBS on)
set(Boost_USE_MULTITHREADED ON)
unset(Boost_INCLUDE_DIR CACHE)
unset(Boost_LIBRARY_DIRS CACHE)
find_package(Boost COMPONENTS system program_options filesystem regex iostreams thread serialization context REQUIRED)
link_directories(${Boost_LIBRARY_DIRS})
include_directories(
${Boost_INCLUDE_DIRS})
set(MISC_LIBRARIES
librt.so
libproxygenhttpserver.a
libproxygenlib.a
libz.a
libwangle.a
libfolly.a
libevent.a
libpthread.so
libboost_context.a
dl
ssl
crypto
glog
gflags
double-conversion)
add_subdirectory(src)