yolobs-studio/plugins/rtmp-services/CMakeLists.txt

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

41 lines
1,001 B
CMake
Raw Normal View History

2016-02-23 23:16:51 +00:00
project(rtmp-services)
include_directories(${OBS_JANSSON_INCLUDE_DIRS})
set(rtmp-services_SOURCES
2018-02-19 19:54:37 +00:00
twitch.c
2016-02-23 23:16:51 +00:00
rtmp-common.c
rtmp-custom.c
rtmp-services-main.c)
set(rtmp-services_HEADERS
2018-02-19 19:54:37 +00:00
twitch.h
2016-02-23 23:16:51 +00:00
rtmp-format-ver.h)
set(RTMP_SERVICES_URL
"https://obsproject.com/obs2_update/rtmp-services"
CACHE STRING "Default services package URL")
2018-02-19 19:54:37 +00:00
option(CHECK_FOR_SERVICE_UPDATES "Checks for service updates" OFF)
2016-02-23 23:16:51 +00:00
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/lookup-config.h.in"
"${CMAKE_BINARY_DIR}/plugins/rtmp-services/lookup-config.h")
set(rtmp-services_config_HEADERS
"${CMAKE_BINARY_DIR}/plugins/rtmp-services/lookup-config.h")
add_library(rtmp-services MODULE
${rtmp-services_SOURCES}
${rtmp-services_HEADERS}
${rtmp-services_config_HEADERS})
target_link_libraries(rtmp-services
libobs
file-updater
${OBS_JANSSON_IMPORT})
target_include_directories(rtmp-services
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/plugins/rtmp-services>")
install_obs_plugin_with_data(rtmp-services data)