2016-02-23 23:16:51 +00:00
|
|
|
project(obs-transitions)
|
|
|
|
|
|
|
|
set(obs-transitions_SOURCES
|
|
|
|
obs-transitions.c
|
2016-05-24 19:53:01 +00:00
|
|
|
transition-slide.c
|
|
|
|
transition-swipe.c
|
2016-02-23 23:16:51 +00:00
|
|
|
transition-fade.c
|
|
|
|
transition-cut.c
|
2016-05-24 19:53:01 +00:00
|
|
|
transition-fade-to-color.c
|
2016-08-28 12:07:43 +00:00
|
|
|
transition-luma-wipe.c
|
2018-02-19 19:54:37 +00:00
|
|
|
transition-stinger.c
|
2016-02-23 23:16:51 +00:00
|
|
|
)
|
|
|
|
|
2020-05-27 20:57:19 +00:00
|
|
|
if(WIN32)
|
|
|
|
set(MODULE_DESCRIPTION "OBS Transitions module")
|
|
|
|
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in obs-transitions.rc)
|
|
|
|
list(APPEND obs-transitions_SOURCES
|
|
|
|
obs-transitions.rc)
|
|
|
|
endif()
|
|
|
|
|
2016-02-23 23:16:51 +00:00
|
|
|
add_library(obs-transitions MODULE
|
|
|
|
${obs-transitions_SOURCES})
|
|
|
|
target_link_libraries(obs-transitions
|
|
|
|
libobs)
|
2020-10-01 20:15:25 +00:00
|
|
|
set_target_properties(obs-transitions PROPERTIES FOLDER "plugins")
|
2016-02-23 23:16:51 +00:00
|
|
|
|
|
|
|
install_obs_plugin_with_data(obs-transitions data)
|