Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
suhrm committed Nov 22, 2023
1 parent a0cf6c7 commit 8bad18a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 54 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/integration_test.yml

This file was deleted.

11 changes: 5 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,25 @@ ExternalProject_add(project_srt
SOURCE_DIR ${STEINWURF_RESOLVE}/srt-source
BINARY_DIR ${STEINWURF_RESOLVE}/srt-source/cmake_build
INSTALL_DIR ${STEINWURF_RESOLVE}/srt-source/install
CONFIGURE_COMMAND ${CMAKE_COMMAND} ${STEINWURF_RESOLVE}/srt-source/
CONFIGURE_COMMAND ${CMAKE_COMMAND} ${STEINWURF_RESOLVE}/srt-source/ -DENABLED_STATIC=ON -DENABLE_BONDING=ON -DENABLE_APPS=OFF -DENABLE_ENCRYPTION=OFF -DCMAKE_BUILD_TYPE=Debug
BUILD_COMMAND ${CMAKE_COMMAND} --build ${STEINWURF_RESOLVE}/srt-source/cmake_build
CMAKE_CACHE_ARGS -DENABLED_STATIC=ON -DENABLE_BONDING=ON -DENABLE_APPS=OFF -DENABLE_ENCRYPTION=OFF -DCMAKE_BUILD_TYPE=Debug
EXCLUDE_FROM_ALL TRUE
STEP_TARGETS build
STEP_TARGETS install
INSTALL_COMMAND ${CMAKE_COMMAND} --install ${STEINWURF_RESOLVE}/srt-source/cmake_build --prefix ${STEINWURF_RESOLVE}/srt-source/install

)
add_library(srt STATIC IMPORTED GLOBAL)
set_target_properties(srt PROPERTIES
IMPORTED_LOCATION ${STEINWURF_RESOLVE}/srt-source/install/lib/libsrt.a

)
target_include_directories(srt INTERFACE ${STEINWURF_RESOLVE}/srt-source/install/include)


add_dependencies(srt project_srt)

add_library(steinwurf::srt ALIAS srt)


# # Include directories
# target_include_directories(steinwurf::srt INTERFACE ${STEINWURF_RESOLVE}/srt-source/install/include)

# Is top level project?
if (${PROJECT_NAME} STREQUAL ${STEINWURF_TOP_NAME})
Expand Down

0 comments on commit 8bad18a

Please sign in to comment.