Kylin/HttpProxy/CMakeLists.txt

23 lines
630 B
CMake
Raw Normal View History

2023-07-25 10:40:14 +08:00
find_package(Boost COMPONENTS url REQUIRED)
2023-07-21 11:53:19 +08:00
add_library(HttpProxy
NetworkUtility.h NetworkUtility.cpp
2023-07-21 15:28:59 +08:00
ProxyHttpSession.h ProxyHttpSession.cpp
ProxyListener.h ProxyListener.cpp
ProxyTcpSession.h ProxyTcpSession.cpp
TemplateMatchs.h TemplateMatchs.cpp
TemplateSegmentRule.h TemplateSegmentRule.cpp
UrlRouter.h UrlRouter.cpp
UrlRouterPrivate.h UrlRouterPrivate.cpp
2023-07-21 11:53:19 +08:00
)
target_include_directories(HttpProxy
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
2023-12-29 19:10:38 +08:00
PRIVATE ${OpenSSL_INCLUDE_DIR}
2023-07-21 11:53:19 +08:00
)
target_link_libraries(HttpProxy
2023-07-25 10:40:14 +08:00
PUBLIC ${Boost_LIBRARIES}
2023-07-21 11:53:19 +08:00
PUBLIC Universal
2023-07-25 10:40:14 +08:00
PRIVATE ${OpenSSL_LIBRARY}
2023-07-21 11:53:19 +08:00
)