-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
executable file
·54 lines (50 loc) · 1000 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
project(sc2switcher3)
include_directories(${OBS_JANSSON_INCLUDE_DIRS})
set(sc2switcher3_HEADERS
${sc2switcher3_HEADERS}
SC2Data.h
Observer.h
SC2State.h
Constants.h
SceneSwitcher.h
ScoreTracker.h
Webhook.h
Config.h
forms/SettingsDialog.h
log.h
)
set(sc2switcher3_SOURCES
${sc2switcher3_SOURCES}
sc2switcher.cpp
SC2Data.cpp
SC2State.cpp
SceneSwitcher.cpp
ScoreTracker.cpp
Webhook.cpp
Config.cpp
forms/SettingsDialog.cpp
)
set(sc2switcher3_UI
${sc2switcher3_UI}
forms/SettingsDialog.ui
)
set(sc2switcher3_PLATFORM_LIBS
${OBS_JANSSON_IMPORT}
)
qt5_wrap_ui(sc2switcher3_UI_HEADERS
${sc2switcher3_UI}
${sc2switcher3_PLATFORM_UI})
add_library(sc2switcher3 MODULE
${sc2switcher3_HEADERS}
${sc2switcher3_SOURCES}
${sc2switcher3_UI_HEADERS}
${sc2switcher3_PLATFORM_SOURCES}
${sc2switcher3_PLATFORM_HEADERS}
)
target_link_libraries(sc2switcher3
${sc2switcher3_PLATFORM_LIBS}
obs-frontend-api
Qt5::Widgets
${LIBCURL_LIBRARIES}
libobs)
install_obs_plugin(sc2switcher3)