blob: 05de6c58ec7d8f727c7cd9193a13820cf5ae0eb3 (
plain)
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
|
add_library(tfe-library base64.cc build.cc cache.cc cachemgr.cc cachessess.cc compat.cc easylogging++.cc
cachedsess.cc cachetgcrt.cc cachefkcrt.cc cert.cc certstore.cc logger.cc cfgparser.cc
dynbuf.cc nat.cc opts.cc privsep.cc proxy.cc pxythrmgr.cc pxysslshut.cc pxyconn.cc
ssl.cc sys.cc thrqueue.cc url.cc util.cc httpscan.cc httpaction.cc http1.cc http.cc stat.cc)
#pxyconn.cc
target_compile_definitions(tfe-library PUBLIC -DELPP_THREAD_SAFE -DELPP_FEATURE_ALL)
target_link_libraries(tfe-library
openssl-ssl-static
openssl-crypto-static
pthread
libevent-static
libevent-static-openssl
libevent-static-pthreads
http-parser-static
MESA_prof_load-static
MESA_field_stat2
jsoncpp rdkafka pcrecpp dl)
target_link_libraries(tfe-library maatframe MESA_handle_logger)
add_executable(tfe main.cc)
target_compile_definitions(tfe PUBLIC -DELPP_THREAD_SAFE -DELPP_FEATURE_ALL)
target_link_libraries(tfe tfe-library)
install(TARGETS tfe RUNTIME DESTINATION ./)
|