forked from nirvana-7777/pvr.eon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (37 loc) · 915 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
cmake_minimum_required(VERSION 3.5)
project(pvr.eon)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
find_package(Kodi REQUIRED)
find_package(RapidJSON 1.0.2 REQUIRED)
include_directories(${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways
${RAPIDJSON_INCLUDE_DIRS}
)
set(EON_SOURCES
src/http/Curl.cpp
src/http/HttpClient.cpp
src/SHA256.cpp
src/Base64.cpp
src/aes.c
src/pkcs7_padding.c
src/Utils.cpp
src/Settings.cpp
src/PVREon.cpp
)
set(EON_HEADERS
src/http/Curl.h
src/http/HttpClient.h
src/SHA256.h
src/Base64.h
src/aes.hpp
src/aes.h
src/pkcs7_padding.hpp
src/pkcs7_padding.h
src/Utils.h
src/Settings.h
src/PVREon.h
src/Globals.h
)
addon_version(pvr.eon EON)
add_definitions(-DEON_VERSION=${EON_VERSION})
build_addon(pvr.eon EON DEPLIBS)
include(CPack)