feat(rename stellar_devel): from stellar_devel to stellar_lib

This commit is contained in:
yangwei
2024-08-30 15:10:55 +08:00
parent aa5c41e4d7
commit ce49357bbc
5 changed files with 12 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# build libdebug_plugin.so
add_library(debug_plugin SHARED debug_plugin.c)
target_link_libraries(debug_plugin stellar_devel session_manager packet_parser)
target_link_libraries(debug_plugin stellar_lib session_manager packet_parser)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra/core/utils)
set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")

View File

@@ -21,7 +21,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include/stellar)
aux_source_directory(${PROJECT_SOURCE_DIR}/deps/toml PERF_TEST_DEP_SRC)
add_executable(gtest_http http_decoder_gtest.cpp ${PROJECT_SOURCE_DIR}/decoders/http/http_decoder_utils.cpp)
target_link_libraries(gtest_http gtest stellar_devel llhttp-static)
target_link_libraries(gtest_http gtest stellar_lib llhttp-static)
add_executable(http_test_main plugin_test_main.cpp)
set_target_properties(http_test_main
@@ -35,7 +35,7 @@ set_target_properties(http_test_main
"-rdynamic"
)
set(LINK_FLAGS "-rdynamic")
target_link_libraries(http_test_main gtest cjson-static stellar_devel llhttp-static)
target_link_libraries(http_test_main gtest cjson-static stellar_lib llhttp-static)
add_subdirectory(test_based_on_stellar)

View File

@@ -4,7 +4,7 @@ target_include_directories(gtest_lpi PRIVATE ${CMAKE_SOURCE_DIR}/deps/)
target_include_directories(gtest_lpi PRIVATE ${CMAKE_SOURCE_DIR}/decoders/lpi)
target_link_libraries(
gtest_lpi PRIVATE stellar_devel cjson-static
gtest_lpi PRIVATE stellar_lib cjson-static
dl "-rdynamic"
gtest gmock
)

View File

@@ -9,7 +9,7 @@ function(packet_inject_add_case EXEC_NAME)
add_executable(${EXEC_NAME} ${EXEC_NAME}.cpp)
target_include_directories(${EXEC_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_link_libraries(${EXEC_NAME} PRIVATE "-rdynamic")
target_link_libraries(${EXEC_NAME} PRIVATE stellar_devel gtest)
target_link_libraries(${EXEC_NAME} PRIVATE stellar_lib gtest)
gtest_discover_tests(${EXEC_NAME})
endfunction()