obs-studio/plugins/win-wasapi/CMakeLists.txt

21 lines
442 B
CMake

project(win-wasapi)
set(win-wasapi_HEADERS
enum-wasapi.hpp)
set(MODULE_DESCRIPTION "OBS WASAPI module")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in win-wasapi.rc)
set(win-wasapi_SOURCES
win-wasapi.cpp
enum-wasapi.cpp
plugin-main.cpp
win-wasapi.rc)
add_library(win-wasapi MODULE
${win-wasapi_SOURCES}
${win-wasapi_HEADERS})
target_link_libraries(win-wasapi
libobs)
install_obs_plugin_with_data(win-wasapi data)