forked from kodi-game/game.libretro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
71 lines (64 loc) · 2.98 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
cmake_minimum_required(VERSION 3.1)
project(game.libretro)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
find_package(Kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(p8-platform REQUIRED)
include_directories(${KODI_INCLUDE_DIR}
${kodiplatform_INCLUDE_DIRS}
${p8-platform_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src)
list(APPEND DEPLIBS ${kodiplatform_LIBRARIES} ${p8-platform_LIBRARIES})
set(LIBRETRO_SOURCES src/client.cpp
src/audio/AudioStream.cpp
src/audio/SingleFrameAudio.cpp
src/GameInfoLoader.cpp
src/input/ButtonMapper.cpp
src/input/InputManager.cpp
src/input/LibretroDevice.cpp
src/input/LibretroDeviceInput.cpp
src/libretro/ClientBridge.cpp
src/libretro/FrontendBridge.cpp
src/libretro/LibretroDLL.cpp
src/libretro/LibretroEnvironment.cpp
src/libretro/LibretroResources.cpp
src/libretro/LibretroTranslator.cpp
src/log/Log.cpp
src/log/LogAddon.cpp
src/log/LogConsole.cpp
src/settings/LanguageGenerator.cpp
src/settings/LibretroSetting.cpp
src/settings/LibretroSettings.cpp
src/settings/Settings.cpp
src/settings/SettingsGenerator.cpp
src/utils/PathUtils.cpp
src/video/VideoStream.cpp)
set(LIBRETRO_HEADERS src/GameInfoLoader.h
src/audio/AudioStream.h
src/audio/SingleFrameAudio.h
src/input/ButtonMapper.h
src/input/InputDefinitions.h
src/input/InputManager.h
src/input/LibretroDevice.h
src/input/LibretroDeviceInput.h
src/libretro/ClientBridge.h
src/libretro/FrontendBridge.h
src/libretro/LibretroDefines.h
src/libretro/LibretroDLL.h
src/libretro/LibretroEnvironment.h
src/libretro/libretro.h
src/libretro/LibretroResources.h
src/libretro/LibretroTranslator.h
src/log/ILog.h
src/log/LogAddon.h
src/log/LogConsole.h
src/log/Log.h
src/settings/LanguageGenerator.h
src/settings/LibretroSetting.h
src/settings/LibretroSettings.h
src/settings/SettingsGenerator.h
src/settings/Settings.h
src/settings/SettingsTypes.h
src/utils/PathUtils.h
src/video/VideoStream.h)
build_addon(${PROJECT_NAME} LIBRETRO DEPLIBS)