✨ feat(rename stellar_devel): from stellar_devel to stellar_lib
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user