obs-studio/plugins/win-capture/CMakeLists.txt
jp9000 9898060223 win-capture: Separate window finding source code
Because other capture methods may end up needing to share this code,
separate the window finding source code to window-helpers.c and
window-helpers.h.

This include a function to fill out a property list with windows, a
function to find a window based upon priority/title/class/exe, and a
function to decode the window title/class/exe strings from a window
setting string.
2014-10-17 04:15:57 -07:00

22 lines
372 B
CMake

project(win-capture)
set(win-capture_HEADERS
window-helpers.h
dc-capture.h)
set(win-capture_SOURCES
dc-capture.c
window-helpers.c
monitor-capture.c
window-capture.c
plugin-main.c)
add_library(win-capture MODULE
${win-capture_SOURCES}
${win-capture_HEADERS})
target_link_libraries(win-capture
libobs
psapi.lib)
install_obs_plugin_with_data(win-capture data)