2026-09-06 20:46:08 -07:00
|
|
|
# streamer-tools OBS Camera Plugin - core library
|
|
|
|
|
#
|
|
|
|
|
# No OBS dependency by design (see docs/superpowers/specs/
|
|
|
|
|
# 2026-09-06-obs-camera-plugin-design.md in the streamer-tools repo) --
|
|
|
|
|
# this must build and test headlessly on every platform.
|
|
|
|
|
|
|
|
|
|
add_library(stplugin_core STATIC
|
|
|
|
|
src/core.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
target_include_directories(stplugin_core
|
|
|
|
|
PUBLIC
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
|
|
|
)
|
|
|
|
|
|
2026-09-06 21:22:14 -07:00
|
|
|
target_link_libraries(stplugin_core
|
|
|
|
|
PUBLIC
|
|
|
|
|
LiveKit::livekit
|
|
|
|
|
)
|
|
|
|
|
|
2026-09-06 20:46:08 -07:00
|
|
|
set_target_properties(stplugin_core PROPERTIES
|
|
|
|
|
POSITION_INDEPENDENT_CODE ON
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_subdirectory(tests)
|