forked from kodi-pvr/pvr.vuplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
100 lines (91 loc) · 4.19 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
cmake_minimum_required(VERSION 3.5)
project(pvr.vuplus)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
find_package(Kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(NlohmannJson REQUIRED)
find_package(p8-platform REQUIRED)
find_package(TinyXML REQUIRED)
include_directories(${kodiplatform_INCLUDE_DIRS}
${NLOHMANNJSON_INCLUDE_DIRS}
${p8-platform_INCLUDE_DIRS}
${TINYXML_INCLUDE_DIR}
${KODI_INCLUDE_DIR})
set(VUPLUS_SOURCES src/client.cpp
src/Enigma2.cpp
src/enigma2/Admin.cpp
src/enigma2/Channels.cpp
src/enigma2/ChannelGroups.cpp
src/enigma2/ConnectionManager.cpp
src/enigma2/Epg.cpp
src/enigma2/RecordingReader.cpp
src/enigma2/Recordings.cpp
src/enigma2/Settings.cpp
src/enigma2/StreamReader.cpp
src/enigma2/Timers.cpp
src/enigma2/TimeshiftBuffer.cpp
src/enigma2/data/AutoTimer.cpp
src/enigma2/data/BaseEntry.cpp
src/enigma2/data/Channel.cpp
src/enigma2/data/ChannelGroup.cpp
src/enigma2/data/EpgEntry.cpp
src/enigma2/data/RecordingEntry.cpp
src/enigma2/data/Timer.cpp
src/enigma2/extract/EpgEntryExtractor.cpp
src/enigma2/extract/GenreIdMapper.cpp
src/enigma2/extract/GenreRytecTextMapper.cpp
src/enigma2/extract/ShowInfoExtractor.cpp
src/enigma2/utilities/CurlFile.cpp
src/enigma2/utilities/FileUtils.cpp
src/enigma2/utilities/Logger.cpp
src/enigma2/utilities/WebUtils.cpp)
set(VUPLUS_HEADERS src/client.h
src/Enigma2.h
src/enigma2/Admin.h
src/enigma2/Channels.h
src/enigma2/ChannelGroups.h
src/enigma2/ConnectionManager.h
src/enigma2/Epg.h
src/enigma2/IConnectionListener.h
src/enigma2/IStreamReader.h
src/enigma2/RecordingReader.h
src/enigma2/Recordings.h
src/enigma2/Settings.h
src/enigma2/StreamReader.h
src/enigma2/Timers.h
src/enigma2/TimeshiftBuffer.h
src/enigma2/data/AutoTimer.h
src/enigma2/data/BaseChannel.h
src/enigma2/data/BaseEntry.h
src/enigma2/data/Channel.h
src/enigma2/data/ChannelGroup.h
src/enigma2/data/EpgEntry.h
src/enigma2/data/EpgPartialEntry.h
src/enigma2/data/EpgChannel.h
src/enigma2/data/RecordingEntry.h
src/enigma2/data/Tags.h
src/enigma2/data/Timer.h
src/enigma2/extract/IExtractor.h
src/enigma2/extract/EpgEntryExtractor.h
src/enigma2/extract/EpisodeSeasonPattern.h
src/enigma2/extract/GenreIdMapper.h
src/enigma2/extract/GenreRytecTextMapper.h
src/enigma2/extract/ShowInfoExtractor.h
src/enigma2/utilities/CurlFile.h
src/enigma2/utilities/DeviceInfo.h
src/enigma2/utilities/DeviceSettings.h
src/enigma2/utilities/LocalizedString.h
src/enigma2/utilities/UpdateState.h
src/enigma2/utilities/FileUtils.h
src/enigma2/utilities/Logger.h
src/enigma2/utilities/SignalStatus.h
src/enigma2/utilities/StreamStatus.h
src/enigma2/utilities/Tuner.h
src/enigma2/utilities/WebUtils.h)
set(DEPLIBS ${kodiplatform_LIBRARIES}
${p8-platform_LIBRARIES}
${TINYXML_LIBRARIES})
addon_version(pvr.vuplus VUPLUS)
add_definitions(-DVUPLUS_VERSION=${VUPLUS_VERSION})
build_addon(pvr.vuplus VUPLUS DEPLIBS)
include(CPack)