2014-03-04 07:07:13 -07:00
|
|
|
project(win-wasapi)
|
|
|
|
|
2022-03-16 23:10:42 +01:00
|
|
|
add_library(win-wasapi MODULE)
|
|
|
|
add_library(OBS::wasapi ALIAS win-wasapi)
|
|
|
|
|
|
|
|
target_sources(win-wasapi PRIVATE win-wasapi.cpp enum-wasapi.cpp
|
|
|
|
enum-wasapi.hpp plugin-main.cpp)
|
2014-03-04 07:07:13 -07:00
|
|
|
|
2019-06-16 21:42:58 +10:00
|
|
|
set(MODULE_DESCRIPTION "OBS WASAPI module")
|
2022-03-16 23:10:42 +01:00
|
|
|
|
|
|
|
configure_file(${CMAKE_SOURCE_DIR}/cmake/bundle/windows/obs-module.rc.in
|
|
|
|
win-wasapi.rc)
|
|
|
|
|
|
|
|
target_sources(win-wasapi PRIVATE win-wasapi.rc)
|
|
|
|
|
|
|
|
target_link_libraries(win-wasapi PRIVATE OBS::libobs Avrt)
|
|
|
|
|
2020-05-13 06:37:01 -07:00
|
|
|
set_target_properties(win-wasapi PROPERTIES FOLDER "plugins")
|
2014-03-04 07:07:13 -07:00
|
|
|
|
2022-03-16 23:10:42 +01:00
|
|
|
setup_plugin_target(win-wasapi)
|