obs-studio/test/test-input/CMakeLists.txt
PatTheMav c993b6059a
CI: Update build scripts and Github actions workflow
Also updates main CMakeLists.txt and CMakeLists.txt for unit tests,
also adds additional build directories to .gitignore file
2022-03-16 23:13:26 +01:00

25 lines
537 B
CMake

project(test-input)
add_library(test-input MODULE)
target_sources(
test-input
PRIVATE test-filter.c
test-input.c
test-sinewave.c
sync-async-source.c
sync-audio-buffering.c
sync-pair-vid.c
sync-pair-aud.c
test-random.c)
target_link_libraries(test-input PRIVATE OBS::libobs)
if(MSVC)
target_link_libraries(test-input PRIVATE OBS::w32-pthreads)
endif()
set_target_properties(test-input PROPERTIES FOLDER "tests and examples")
setup_plugin_target(test-input)