-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
34 lines (27 loc) · 925 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
cmake_minimum_required(VERSION 3.5)
project(peripheral.xarcade)
# --- Add-on Dependencies ------------------------------------------------------
find_package(Kodi REQUIRED)
include_directories(${INCLUDES}
${PROJECT_SOURCE_DIR}/src
${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways (becomes done in future)
)
set(XARCADE_SOURCES
src/xarcade/XArcadeDevice.cpp
src/xarcade/XArcadeScanner.cpp
src/xarcade/XArcadeUtils.cpp
src/addon.cpp
)
set(XARCADE_HEADERS
src/utils/CommonDefines.h
src/utils/CommonMacros.h
src/xarcade/XArcadeDefines.h
src/xarcade/XArcadeDevice.h
src/xarcade/XArcadeScanner.h
src/xarcade/XArcadeTypes.h
src/xarcade/XArcadeUtils.h
src/addon.h
)
# ------------------------------------------------------------------------------
build_addon(${PROJECT_NAME} XARCADE DEPLIBS)
include(CPack)