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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
582 B
CMake
Raw Normal View History

project(win-wasapi)
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)
set(MODULE_DESCRIPTION "OBS WASAPI module")
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")
setup_plugin_target(win-wasapi)