Skip to content

Commit

Permalink
sems-tester: rm ldhelper shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
furmur committed Jun 13, 2024
1 parent b1ccead commit ebb3c1a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ find_package(GTest REQUIRED)
include(GoogleTest)

set(SEMS_UT sems-tester)
set(SEMS_UT_LDHELPER ldhelper)

add_library(${SEMS_UT_LDHELPER} SHARED ldhelper.c)
target_compile_definitions(${SEMS_UT_LDHELPER} PUBLIC _GNU_SOURCE)
target_link_libraries(${SEMS_UT_LDHELPER} dl)
install(TARGETS ${SEMS_UT_LDHELPER} RUNTIME DESTINATION ${SEMS_EXEC_PREFIX}/bin)

include_directories(${BOTAN_BUNDLED_INCLUDE_DIRS}
${SPANDSP_BUNDLED_INCLUDE_DIRS}
${CONFUSE_BUNDLED_INCLUDE_DIRS}
${SRTP_BUNDLED_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/unit_tests)

file(GLOB tester_SRCS "*.cpp")
file(GLOB tester_SRCS "*.c*")
file(GLOB tester_test_SRCS "tests/*.cpp")

add_executable(${SEMS_UT} ${tester_test_SRCS} ${tester_SRCS})
target_link_libraries(${SEMS_UT} ${SEMS_UT_LDHELPER} GTest::GTest GTest::Main event ev libsems)
target_link_libraries(${SEMS_UT} GTest::GTest GTest::Main event ev libsems)
install(TARGETS sems-tester RUNTIME DESTINATION ${SEMS_EXEC_PREFIX}/bin)

0 comments on commit ebb3c1a

Please sign in to comment.