feat(integration decoders): http and glimpse_detector

compile pass, todo test
This commit is contained in:
yangwei
2024-08-20 19:01:06 +08:00
committed by lijia
parent 6e46dbf762
commit dafbecd49a
804 changed files with 66904 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
set(SOURCE stellar_config.cpp stellar_stat.cpp stellar_core.cpp)
set(LIBRARY session_manager plugin_manager ip_reassembly packet_io packet pthread fieldstat4 toml)
set(LIBRARY session_manager plugin_manager ip_reassembly packet_io packet pthread fieldstat4 toml nmx_pool)
set(PLUGIN http_decoder glimpse_detector)
add_library(core STATIC ${SOURCE})
target_link_libraries(core PUBLIC ${LIBRARY})
@@ -11,7 +13,7 @@ target_link_libraries(stellar_devel PRIVATE -Wl,--whole-archive ${LIBRARY} -Wl,-
target_include_directories(stellar_devel PUBLIC ${CMAKE_SOURCE_DIR}/src/utils)
add_executable(stellar main.cpp)
target_link_libraries(stellar PRIVATE -Wl,--whole-archive core ${LIBRARY} -Wl,--no-whole-archive)
target_link_libraries(stellar PRIVATE -Wl,--whole-archive core ${LIBRARY} ${PLUGIN} -Wl,--no-whole-archive)
target_link_libraries(stellar PRIVATE "-rdynamic")
set_target_properties(stellar PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")