feat: add avpipes

This commit is contained in:
2026-03-14 02:56:51 +01:00
parent 5c08732f6c
commit 9e90e40fdd
5 changed files with 353 additions and 29 deletions

View File

@@ -13,6 +13,7 @@ find_package(avcpp REQUIRED)
# ##############################################################################
add_library(mosh-me-lib STATIC
${PROJECT_SOURCE_DIR}/src/avpipe.cpp
${PROJECT_SOURCE_DIR}/src/pipeline.cpp
)
target_link_libraries(mosh-me-lib PUBLIC avcpp::avcpp spdlog::spdlog)
@@ -33,8 +34,13 @@ target_link_libraries(mk-moshable avcpp::avcpp spdlog::spdlog)
target_compile_features(mk-moshable PUBLIC cxx_std_23)
target_include_directories(mk-moshable PRIVATE ${PROJECT_SOURCE_DIR}/include)
add_executable(mosh-pipe
${PROJECT_SOURCE_DIR}/app/mosh-pipe.cpp
)
target_link_libraries(mosh-pipe mosh-me-lib)
install(TARGETS mosh-me mk-moshable)
install(TARGETS mosh-me mk-moshable mosh-pipe)
################################################################################