feat: add avpipes
This commit is contained in:
@@ -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)
|
||||
|
||||
################################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user