2016-02-23 23:16:51 +00:00
|
|
|
project(test-input)
|
|
|
|
|
|
|
|
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
|
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
set(test-input_PLATFORM_DEPS
|
|
|
|
w32-pthreads)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(test-input_SOURCES
|
|
|
|
${test-input_PLATFORM_SOURCES}
|
|
|
|
test-filter.c
|
|
|
|
test-input.c
|
|
|
|
test-sinewave.c
|
2018-02-19 19:54:37 +00:00
|
|
|
sync-async-source.c
|
|
|
|
sync-audio-buffering.c
|
|
|
|
sync-pair-vid.c
|
|
|
|
sync-pair-aud.c
|
2016-02-23 23:16:51 +00:00
|
|
|
test-random.c)
|
|
|
|
|
|
|
|
add_library(test-input MODULE
|
|
|
|
${test-input_SOURCES})
|
|
|
|
|
|
|
|
target_link_libraries(test-input
|
|
|
|
${test-input_PLATFORM_DEPS}
|
|
|
|
libobs)
|
2020-10-01 20:15:25 +00:00
|
|
|
set_target_properties(test-input PROPERTIES FOLDER "tests and examples")
|
2016-02-23 23:16:51 +00:00
|
|
|
|
|
|
|
install_obs_plugin_with_data(test-input data)
|