mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Added .dmg package generator setup for macOS.
Also cleaned up and updated the CMakeLists.txt files and moved the non-source files to a separate assets directory.
This commit is contained in:
parent
541f7202d8
commit
7f31c1bbb4
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
# Compiled executable
|
# Compiled executable
|
||||||
emulationstation
|
emulationstation
|
||||||
emulationstation.exe
|
EmulationStation
|
||||||
|
EmulationStation.exe
|
||||||
|
|
||||||
# build directory
|
# build directory
|
||||||
build
|
build
|
||||||
|
@ -39,11 +40,15 @@ install_manifest.txt
|
||||||
_CPack_Packages
|
_CPack_Packages
|
||||||
emulationstation-de*.deb
|
emulationstation-de*.deb
|
||||||
emulationstation-de*.rpm
|
emulationstation-de*.rpm
|
||||||
emulationstation-de*.exe
|
EmulationStation-DE*.dmg
|
||||||
|
EmulationStation-DE*.exe
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
TODO.md
|
TODO.md
|
||||||
|
|
||||||
|
# macOS
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# Eclipse
|
# Eclipse
|
||||||
.cproject
|
.cproject
|
||||||
.project
|
.project
|
||||||
|
|
|
@ -6,8 +6,8 @@ set(CMAKE_VERBOSE_MAKEFILE OFF CACHE BOOL "Show verbose compiler output" FORCE)
|
||||||
|
|
||||||
# Add local find modules to CMAKE path.
|
# Add local find modules to CMAKE path.
|
||||||
list(APPEND CMAKE_MODULE_PATH
|
list(APPEND CMAKE_MODULE_PATH
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils
|
${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages)
|
${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages)
|
||||||
|
|
||||||
# Options.
|
# Options.
|
||||||
option(GLES "Set to ON if targeting Embedded OpenGL" ${GLES})
|
option(GLES "Set to ON if targeting Embedded OpenGL" ${GLES})
|
||||||
|
@ -168,15 +168,15 @@ endif()
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
# Add include directories.
|
# Add include directories.
|
||||||
set(COMMON_INCLUDE_DIRS
|
set(COMMON_INCLUDE_DIRS
|
||||||
${CURL_INCLUDE_DIR}
|
${CURL_INCLUDE_DIR}
|
||||||
${FreeImage_INCLUDE_DIRS}
|
${FreeImage_INCLUDE_DIRS}
|
||||||
${FREETYPE_INCLUDE_DIRS}
|
${FREETYPE_INCLUDE_DIRS}
|
||||||
${PUGIXML_INCLUDE_DIRS}
|
${PUGIXML_INCLUDE_DIRS}
|
||||||
${RAPIDJSON_INCLUDE_DIRS}
|
${RAPIDJSON_INCLUDE_DIRS}
|
||||||
${SDL2_INCLUDE_DIR}
|
${SDL2_INCLUDE_DIR}
|
||||||
${VLC_INCLUDE_DIR}
|
${VLC_INCLUDE_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/external
|
${CMAKE_CURRENT_SOURCE_DIR}/external
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/es-core/src)
|
${CMAKE_CURRENT_SOURCE_DIR}/es-core/src)
|
||||||
|
|
||||||
# Temporary solution until the VLC find module has been updated to work properly on macOS.
|
# Temporary solution until the VLC find module has been updated to work properly on macOS.
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
@ -200,10 +200,10 @@ endif()
|
||||||
|
|
||||||
if(DEFINED BCMHOST)
|
if(DEFINED BCMHOST)
|
||||||
list(APPEND COMMON_INCLUDE_DIRS
|
list(APPEND COMMON_INCLUDE_DIRS
|
||||||
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include"
|
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include"
|
||||||
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vcos"
|
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vcos"
|
||||||
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vmcs_host/linux"
|
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vmcs_host/linux"
|
||||||
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vcos/pthreads")
|
"${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vcos/pthreads")
|
||||||
# Add Vero4k include directory.
|
# Add Vero4k include directory.
|
||||||
elseif(DEFINED VERO4K)
|
elseif(DEFINED VERO4K)
|
||||||
list(APPEND COMMON_INCLUDE_DIRS "${CMAKE_FIND_ROOT_PATH}/opt/vero3/include")
|
list(APPEND COMMON_INCLUDE_DIRS "${CMAKE_FIND_ROOT_PATH}/opt/vero3/include")
|
||||||
|
@ -226,25 +226,25 @@ endif()
|
||||||
|
|
||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
set(COMMON_LIBRARIES
|
set(COMMON_LIBRARIES
|
||||||
${CURL_LIBRARIES}
|
${CURL_LIBRARIES}
|
||||||
${FreeImage_LIBRARIES}
|
${FreeImage_LIBRARIES}
|
||||||
${FREETYPE_LIBRARIES}
|
${FREETYPE_LIBRARIES}
|
||||||
${PUGIXML_LIBRARIES}
|
${PUGIXML_LIBRARIES}
|
||||||
${SDL2_LIBRARY}
|
${SDL2_LIBRARY}
|
||||||
${VLC_LIBRARIES}
|
${VLC_LIBRARIES}
|
||||||
nanosvg)
|
nanosvg)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
set(COMMON_LIBRARIES
|
set(COMMON_LIBRARIES
|
||||||
"${PROJECT_SOURCE_DIR}/libpugixml.dll"
|
"${PROJECT_SOURCE_DIR}/libpugixml.dll"
|
||||||
"${PROJECT_SOURCE_DIR}/FreeImage.dll"
|
"${PROJECT_SOURCE_DIR}/FreeImage.dll"
|
||||||
"${PROJECT_SOURCE_DIR}/libcurl-x64.dll"
|
"${PROJECT_SOURCE_DIR}/libcurl-x64.dll"
|
||||||
"${PROJECT_SOURCE_DIR}/libvlc.dll"
|
"${PROJECT_SOURCE_DIR}/libvlc.dll"
|
||||||
"${PROJECT_SOURCE_DIR}/libfreetype.dll"
|
"${PROJECT_SOURCE_DIR}/libfreetype.dll"
|
||||||
"Winmm.dll"
|
"Winmm.dll"
|
||||||
"mingw32"
|
"mingw32"
|
||||||
"${PROJECT_SOURCE_DIR}/libSDL2main.a"
|
"${PROJECT_SOURCE_DIR}/libSDL2main.a"
|
||||||
"${PROJECT_SOURCE_DIR}/SDL2.dll"
|
"${PROJECT_SOURCE_DIR}/SDL2.dll"
|
||||||
"nanosvg")
|
"nanosvg")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Temporary solution until the VLC find module has been updated to work properly on macOS.
|
# Temporary solution until the VLC find module has been updated to work properly on macOS.
|
||||||
|
|
20
INSTALL.md
20
INSTALL.md
|
@ -8,7 +8,7 @@ Table of contents:
|
||||||
|
|
||||||
## Development Environment
|
## Development Environment
|
||||||
|
|
||||||
EmulationStation-DE is developed and compiled using both Clang/LLVM and GCC on Unix, Clang/LLVM on macoOS and GCC (MinGW) on Windows. I'm intending to get Clang/LLVM working on Windows as well.
|
EmulationStation-DE is developed and compiled using both Clang/LLVM and GCC on Unix, Clang/LLVM on macOS and GCC (MinGW) on Windows. I'm intending to get Clang/LLVM working on Windows as well.
|
||||||
|
|
||||||
There are much more details regarding compilers later in this document, so read on!
|
There are much more details regarding compilers later in this document, so read on!
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ CPack: - Run preinstall target for: emulationstation-de
|
||||||
CPack: - Install project: emulationstation-de []
|
CPack: - Install project: emulationstation-de []
|
||||||
CPack: Create package
|
CPack: Create package
|
||||||
CPackDeb: - Generating dependency list
|
CPackDeb: - Generating dependency list
|
||||||
CPack: - package: /home/user/emulationstation-de/emulationstation-de-1.0.0.deb generated.
|
CPack: - package: /home/myusername/emulationstation-de/emulationstation-de-1.0.0.deb generated.
|
||||||
```
|
```
|
||||||
|
|
||||||
The package can now be installed using a package manager, for example `dpkg`.
|
The package can now be installed using a package manager, for example `dpkg`.
|
||||||
|
@ -269,6 +269,20 @@ Keep in mind though that a debug version will be much slower due to all compiler
|
||||||
|
|
||||||
Running `make -j6` (or whatever number of parallel jobs you prefer) speeds up the compilation time if you have cores to spare.
|
Running `make -j6` (or whatever number of parallel jobs you prefer) speeds up the compilation time if you have cores to spare.
|
||||||
|
|
||||||
|
**Creating .dmg DragNDrop installer:**
|
||||||
|
|
||||||
|
Simply run `cpack` to build the .dmg installer:
|
||||||
|
|
||||||
|
```
|
||||||
|
user@computer:~/emulationstation-de$ cpack
|
||||||
|
CPack: Create package using DragNDrop
|
||||||
|
CPack: Install projects
|
||||||
|
CPack: - Run preinstall target for: emulationstation-de
|
||||||
|
CPack: - Install project: emulationstation-de []
|
||||||
|
CPack: Create package
|
||||||
|
CPack: - package: /Users/myusername/emulationstation-de/EmulationStation-DE-1.0.0.dmg generated.
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Building on Windows
|
## Building on Windows
|
||||||
|
|
||||||
|
@ -606,7 +620,7 @@ Here is such an example:
|
||||||
|
|
||||||
**~/.emulationstation/es_input.cfg:**
|
**~/.emulationstation/es_input.cfg:**
|
||||||
|
|
||||||
You normally don't need to modify this file manually as it's created by the built-in input configuration step. This procedure is detailed in the [User Guide](USERGUIDE.md#Input device configuration).
|
You normally don't need to modify this file manually as it's created by the built-in input configuration step. This procedure is detailed in the [User Guide](USERGUIDE.md#input-device-configuration).
|
||||||
|
|
||||||
If your controller and keyboard stop working, you can delete the `~/.emulationstation/es_input.cfg` file to make the input configuration screen re-appear on the next run.
|
If your controller and keyboard stop working, you can delete the `~/.emulationstation/es_input.cfg` file to make the input configuration screen re-appear on the next run.
|
||||||
|
|
||||||
|
|
2
NEWS.md
2
NEWS.md
|
@ -54,7 +54,7 @@ Many bugs have been fixed, and numerous features that were only partially implem
|
||||||
* Refactoring, cleanup and documentation of the source code, removal of deprecated files etc.
|
* Refactoring, cleanup and documentation of the source code, removal of deprecated files etc.
|
||||||
* All required fonts bundled with the application, no dependencies on the OS to provide them any longer
|
* All required fonts bundled with the application, no dependencies on the OS to provide them any longer
|
||||||
* Made pugixml an external dependency instead of bundling it
|
* Made pugixml an external dependency instead of bundling it
|
||||||
* Updated the CMake/CPack install and package build script to work as expected (it can now generate .deb, .rpm and NSIS installation packages)
|
* Updated the CMake/CPack install and package build script to work as expected (it can now generate .deb, .rpm, .dmg and NSIS installation packages)
|
||||||
* Added support for Clang/LLVM, made the application build with no errors or warnings using this compiler (Unix only)
|
* Added support for Clang/LLVM, made the application build with no errors or warnings using this compiler (Unix only)
|
||||||
* License files included for all the libraries and resources that are bundled with the application
|
* License files included for all the libraries and resources that are bundled with the application
|
||||||
* Greatly expanded the application documentation (which is hosted with the source repository on GitLab)
|
* Greatly expanded the application documentation (which is hosted with the source repository on GitLab)
|
||||||
|
|
|
@ -977,7 +977,7 @@ On Windows, ES can be installed to and run from a removable media device such as
|
||||||
|
|
||||||
## Command line arguments
|
## Command line arguments
|
||||||
|
|
||||||
Please refer to the [INSTALL.md](INSTALL.md#Command line arguments) document for a list of the command line arguments per operating system.
|
Please refer to the [INSTALL.md](INSTALL.md#command-line-arguments) document for a list of the command line arguments per operating system.
|
||||||
|
|
||||||
|
|
||||||
## Supported game systems
|
## Supported game systems
|
||||||
|
|
|
@ -1,199 +1,217 @@
|
||||||
project("emulationstation-de")
|
project("emulationstation-de")
|
||||||
|
|
||||||
set(ES_HEADERS
|
set(ES_HEADERS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/EmulationStation.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/EmulationStation.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/MetaData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/MetaData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/PlatformId.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/PlatformId.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemScreenSaver.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemScreenSaver.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemManager.h
|
||||||
|
|
||||||
# Guis
|
# Guis
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMetaDataEd.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMetaDataEd.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGameScraper.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGameScraper.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScreensaverOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScreensaverOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGeneralScreensaverOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGeneralScreensaverOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiVideoScreensaverOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiVideoScreensaverOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSlideshowScreensaverOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSlideshowScreensaverOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMenu.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMenu.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSettings.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSettings.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMenu.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMenu.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMulti.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMulti.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperSearch.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperSearch.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistFilter.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistFilter.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiCollectionSystemsOptions.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiCollectionSystemsOptions.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInfoPopup.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInfoPopup.h
|
||||||
|
|
||||||
# Scrapers
|
# Scrapers
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/Scraper.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/Scraper.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraper.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraper.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraperResources.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraperResources.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/ScreenScraper.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/ScreenScraper.h
|
||||||
|
|
||||||
# Views
|
# Views
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/BasicGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/BasicGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/DetailedGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/DetailedGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/IGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/IGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/ISimpleGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/ISimpleGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/GridGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/GridGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/VideoGameListView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/VideoGameListView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/SystemView.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/SystemView.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/ViewController.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/ViewController.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/UIModeController.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/UIModeController.h
|
||||||
|
|
||||||
# Animations
|
# Animations
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/LaunchAnimation.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/LaunchAnimation.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/MoveCameraAnimation.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/MoveCameraAnimation.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(ES_SOURCES
|
set(ES_SOURCES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileData.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileSorts.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/MetaData.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/MetaData.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/PlatformId.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/PlatformId.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemData.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemData.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/FileFilterIndex.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemScreenSaver.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/SystemScreenSaver.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemManager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/CollectionSystemManager.cpp
|
||||||
|
|
||||||
# Guis
|
# Guis
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMetaDataEd.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMetaDataEd.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGameScraper.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGameScraper.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScreensaverOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScreensaverOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGeneralScreensaverOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGeneralScreensaverOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiVideoScreensaverOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiVideoScreensaverOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSlideshowScreensaverOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSlideshowScreensaverOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMenu.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMenu.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSettings.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiSettings.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMenu.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMenu.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMulti.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperMulti.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperSearch.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiScraperSearch.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistFilter.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiGamelistFilter.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiCollectionSystemsOptions.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiCollectionSystemsOptions.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInfoPopup.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInfoPopup.cpp
|
||||||
|
|
||||||
# Scrapers
|
# Scrapers
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/Scraper.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/Scraper.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraper.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraper.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraperResources.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/GamesDBJSONScraperResources.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/ScreenScraper.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/scrapers/ScreenScraper.cpp
|
||||||
|
|
||||||
# Views
|
# Views
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/BasicGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/BasicGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/DetailedGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/DetailedGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/IGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/IGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/ISimpleGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/ISimpleGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/GridGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/GridGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/VideoGameListView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/gamelist/VideoGameListView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/SystemView.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/SystemView.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/ViewController.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/ViewController.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/views/UIModeController.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/views/UIModeController.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
# Define OS specific sources and headers.
|
# Define OS specific sources and headers.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
LIST(APPEND ES_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/EmulationStation.rc)
|
LIST(APPEND ES_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation.rc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Define target.
|
# Define target.
|
||||||
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
if(APPLE OR WIN32)
|
||||||
add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS})
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
target_link_libraries(emulationstation ${COMMON_LIBRARIES} es-core)
|
add_executable(EmulationStation ${ES_SOURCES} ${ES_HEADERS})
|
||||||
|
target_link_libraries(EmulationStation ${COMMON_LIBRARIES} es-core)
|
||||||
|
else()
|
||||||
|
include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
|
add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS})
|
||||||
|
target_link_libraries(emulationstation ${COMMON_LIBRARIES} es-core)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Set up CPack for installation and package generation.
|
# Setup for installation and package generation.
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
install(TARGETS emulationstation RUNTIME DESTINATION .)
|
install(TARGETS emulationstation RUNTIME DESTINATION .)
|
||||||
install(FILES ../FreeImage.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll ../libfreetype.dll
|
install(FILES ../FreeImage.dll ../libcrypto-1_1-x64.dll ../libcurl-x64.dll ../libfreetype.dll
|
||||||
../libgcc_s_seh-1.dll ../libpugixml.dll ../libssl-1_1-x64.dll ../libstdc++-6.dll
|
../libgcc_s_seh-1.dll ../libpugixml.dll ../libssl-1_1-x64.dll ../libstdc++-6.dll
|
||||||
../libvlc.dll ../libvlccore.dll ../libwinpthread-1.dll ../SDL2.dll DESTINATION .)
|
../libvlc.dll ../libvlccore.dll ../libwinpthread-1.dll ../SDL2.dll DESTINATION .)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/plugins DESTINATION .)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/plugins DESTINATION .)
|
||||||
install(FILES ../LICENSE DESTINATION .)
|
install(FILES ../LICENSE DESTINATION .)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES DESTINATION .)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES DESTINATION .)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes DESTINATION .)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes DESTINATION .)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources DESTINATION .)
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources DESTINATION .)
|
||||||
|
elseif(APPLE)
|
||||||
|
install(TARGETS EmulationStation RUNTIME
|
||||||
|
DESTINATION EmulationStation.app/Contents/MacOS)
|
||||||
|
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
||||||
|
DESTINATION EmulationStation.app/Contents/Resources)
|
||||||
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
||||||
|
DESTINATION EmulationStation.app/Contents/Resources)
|
||||||
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes
|
||||||
|
DESTINATION EmulationStation.app/Contents/Resources)
|
||||||
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES
|
||||||
|
DESTINATION EmulationStation.app/Contents/Resources)
|
||||||
else()
|
else()
|
||||||
install(TARGETS emulationstation RUNTIME
|
install(TARGETS emulationstation RUNTIME
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/emulationstation.6.gz
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/emulationstation.6.gz
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man6)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man6)
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/emulationstation.desktop
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/emulationstation.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/emulationstation.svg
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/emulationstation.svg
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(InstallRequiredSystemLibraries)
|
include(InstallRequiredSystemLibraries)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------
|
||||||
# CPack settings.
|
# General CPack settings.
|
||||||
set(CPACK_PACKAGE_NAME "emulationstation-de")
|
set(CPACK_PACKAGE_NAME "emulationstation-de")
|
||||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An emulator front-end with controller navigation and theming support.")
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An emulator front-end with controller navigation and theming support.")
|
||||||
set(CPACK_PACKAGE_DESCRIPTION "EmulationStation Desktop Edition is a fast and flexible front-end for browsing and launching games from your multi-platform retro game collection. It's intended to be used in conjunction with emulators such as the RetroArch cores.")
|
set(CPACK_PACKAGE_DESCRIPTION "EmulationStation Desktop Edition is a fast and flexible front-end for browsing and launching games from your multi-platform retro game collection. It's intended to be used in conjunction with emulators such as the RetroArch cores.")
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
|
||||||
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Leon Styhre <leon@leonstyhre.com>")
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://gitlab.com/leonstyhre/emulationstation-de")
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_SECTION "misc")
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
|
||||||
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libsdl2-2.0-0, libfreeimage3, libfreetype6, libvlc5, libcurl4, libpugixml1v5, libasound2")
|
|
||||||
set(CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS "debhelper (>= 8.0.0), cmake, g++ (>= 4.8), libsdl2-dev, libfreeimage-dev, libfreetype6-dev, libcurl4-openssl-dev, libpugixml-dev, rapidjson-dev, libasound2-dev, libvlc-dev, libgl1-mesa-dev")
|
|
||||||
|
|
||||||
set(CPACK_RPM_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
|
|
||||||
set(CPACK_RPM_PACKAGE_REQUIRES "libc6, libsdl2-2.0-0, libfreeimage3, libfreetype6, libvlc5, libcurl4, libpugixml1v5, libasound2")
|
|
||||||
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
|
||||||
|
|
||||||
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
|
|
||||||
set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
|
|
||||||
set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/src/es_icon.ico")
|
|
||||||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
|
||||||
set(CPACK_NSIS_DISPLAY_NAME "EmulationStation Desktop Edition")
|
|
||||||
set(CPACK_NSIS_INSTALLED_ICON_NAME "${CMAKE_CURRENT_SOURCE_DIR}/es-app/src/es_icon.ico")
|
|
||||||
set(CPACK_NSIS_WELCOME_TITLE "EmulationStation Desktop Edition Installer")
|
|
||||||
set(CPACK_NSIS_FINISH_TITLE "EmulationStation Desktop Edition Installation Completed")
|
|
||||||
set(CPACK_NSIS_MANIFEST_DPI_AWARE ON)
|
|
||||||
|
|
||||||
set(CPACK_PACKAGE_VENDOR "Leon Styhre")
|
set(CPACK_PACKAGE_VENDOR "Leon Styhre")
|
||||||
set(CPACK_PACKAGE_VERSION "1.0.0")
|
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR "1")
|
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR "0")
|
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH "0")
|
|
||||||
|
|
||||||
if(WIN32)
|
# Update this when there has been a new release.
|
||||||
|
set(CPACK_PACKAGE_VERSION "1.0.0-beta")
|
||||||
|
|
||||||
|
# Settings per operating system and generator type.
|
||||||
|
if(APPLE)
|
||||||
|
set(CPACK_GENERATOR "DragNDrop")
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME "EmulationStation-DE-${CPACK_PACKAGE_VERSION}")
|
||||||
|
set(CPACK_DMG_VOLUME_NAME "EmulationStation-DE ${CPACK_PACKAGE_VERSION}")
|
||||||
|
set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation.icns")
|
||||||
|
set(CPACK_DMG_DS_STORE "${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation_DS_Store")
|
||||||
|
elseif(WIN32)
|
||||||
|
set(CPACK_GENERATOR "NSIS")
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME "EmulationStation-DE-${CPACK_PACKAGE_VERSION}-win64")
|
||||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "EmulationStation")
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "EmulationStation")
|
||||||
set(CPACK_PACKAGE_EXECUTABLES "EmulationStation" "EmulationStation")
|
set(CPACK_PACKAGE_EXECUTABLES "EmulationStation" "EmulationStation")
|
||||||
|
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
|
||||||
|
set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
|
||||||
|
set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/assets/EmulationStation.ico")
|
||||||
|
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
||||||
|
set(CPACK_NSIS_DISPLAY_NAME "EmulationStation Desktop Edition")
|
||||||
|
set(CPACK_NSIS_INSTALLED_ICON_NAME
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/es-app/assets/EmulationStation.ico")
|
||||||
|
set(CPACK_NSIS_WELCOME_TITLE "EmulationStation Desktop Edition Installer")
|
||||||
|
set(CPACK_NSIS_FINISH_TITLE "EmulationStation Desktop Edition Installation Completed")
|
||||||
|
set(CPACK_NSIS_MANIFEST_DPI_AWARE ON)
|
||||||
else()
|
else()
|
||||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "emulationstation_${CMAKE_PACKAGE_VERSION}")
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "emulationstation_${CMAKE_PACKAGE_VERSION}")
|
||||||
set(CPACK_PACKAGE_EXECUTABLES "emulationstation" "emulationstation")
|
set(CPACK_PACKAGE_EXECUTABLES "emulationstation" "emulationstation")
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CPACK_RPM_FILE_NAME "emulationstation-de-${CPACK_PACKAGE_VERSION}.rpm")
|
|
||||||
set(CPACK_DEBIAN_FILE_NAME "emulationstation-de-${CPACK_PACKAGE_VERSION}.deb")
|
|
||||||
|
|
||||||
if(WIN32)
|
|
||||||
set(CPACK_GENERATOR "NSIS")
|
|
||||||
else()
|
|
||||||
#set(CPACK_GENERATOR "RPM")
|
|
||||||
set(CPACK_GENERATOR "DEB")
|
set(CPACK_GENERATOR "DEB")
|
||||||
|
set(CPACK_DEBIAN_FILE_NAME "emulationstation-de-${CPACK_PACKAGE_VERSION}.deb")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Leon Styhre <leon@leonstyhre.com>")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://gitlab.com/leonstyhre/emulationstation-de")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_SECTION "misc")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||||
|
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libsdl2-2.0-0, libfreeimage3, libfreetype6, libvlc5, libcurl4, libpugixml1v5, libasound2")
|
||||||
|
set(CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS "debhelper (>= 8.0.0), cmake, g++ (>= 4.8), libsdl2-dev, libfreeimage-dev, libfreetype6-dev, libcurl4-openssl-dev, libpugixml-dev, rapidjson-dev, libasound2-dev, libvlc-dev, libgl1-mesa-dev")
|
||||||
|
|
||||||
|
# Uncomment the next line to generate .rpm packages.
|
||||||
|
#set(CPACK_GENERATOR "RPM")
|
||||||
|
set(CPACK_RPM_FILE_NAME "emulationstation-de-${CPACK_PACKAGE_VERSION}.rpm")
|
||||||
|
set(CPACK_RPM_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
|
||||||
|
set(CPACK_RPM_PACKAGE_REQUIRES "libc6, libsdl2-2.0-0, libfreeimage3, libfreetype6, libvlc5, libcurl4, libpugixml1v5, libasound2")
|
||||||
|
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
BIN
es-app/assets/EmulationStation.icns
Normal file
BIN
es-app/assets/EmulationStation.icns
Normal file
Binary file not shown.
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
|
@ -6,10 +6,10 @@ VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION RESOURCE_VERSION
|
FILEVERSION RESOURCE_VERSION
|
||||||
PRODUCTVERSION RESOURCE_VERSION
|
PRODUCTVERSION RESOURCE_VERSION
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef NDEBUG
|
||||||
FILEFLAGS 0x1L
|
|
||||||
#else
|
|
||||||
FILEFLAGS 0x0L
|
FILEFLAGS 0x0L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x1L
|
||||||
#endif
|
#endif
|
||||||
FILEOS VOS_NT_WINDOWS32
|
FILEOS VOS_NT_WINDOWS32
|
||||||
FILETYPE VFT_APP
|
FILETYPE VFT_APP
|
||||||
|
@ -36,4 +36,4 @@ BEGIN
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
IDI_ES_LOGO ICON DISCARDABLE "es_icon.ico"
|
IDI_ES_LOGO ICON DISCARDABLE "EmulationStation.ico"
|
BIN
es-app/assets/EmulationStation_DS_Store
Normal file
BIN
es-app/assets/EmulationStation_DS_Store
Normal file
Binary file not shown.
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
// These numbers and strings need to be manually updated for a new version.
|
// These numbers and strings need to be manually updated for a new version.
|
||||||
// Do this version number update as the very last commit for the new release version.
|
// Do this version number update as the very last commit for the new release version.
|
||||||
#define PROGRAM_VERSION_MAJOR 1
|
#define PROGRAM_VERSION_MAJOR 1
|
||||||
#define PROGRAM_VERSION_MINOR 0
|
#define PROGRAM_VERSION_MINOR 0
|
||||||
#define PROGRAM_VERSION_MAINTENANCE 0
|
#define PROGRAM_VERSION_MAINTENANCE 0
|
||||||
#define PROGRAM_VERSION_STRING "1.0.0-beta"
|
#define PROGRAM_VERSION_STRING "1.0.0-beta"
|
||||||
|
|
|
@ -1,163 +1,163 @@
|
||||||
project("core")
|
project("core")
|
||||||
|
|
||||||
set(CORE_HEADERS
|
set(CORE_HEADERS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/AsyncHandle.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/AsyncHandle.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/AudioManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/AudioManager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/CECInput.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/CECInput.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/GuiComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/GuiComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/HelpStyle.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/HelpStyle.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/HttpReq.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/HttpReq.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/ImageIO.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ImageIO.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/InputConfig.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/InputConfig.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.h
|
||||||
|
|
||||||
# Animations
|
# Animations
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/Animation.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/Animation.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/AnimationController.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/AnimationController.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/LambdaAnimation.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/LambdaAnimation.h
|
||||||
|
|
||||||
# GuiComponents
|
# GuiComponents
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/BusyComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/BusyComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ButtonComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ButtonComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentGrid.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentGrid.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentList.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentList.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeEditComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeEditComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/HelpComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/HelpComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/GridTileComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/GridTileComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/IList.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/IList.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageGridComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageGridComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/MenuComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/MenuComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/NinePatchComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/NinePatchComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/OptionListComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/OptionListComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/RatingComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/RatingComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ScrollableContainer.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ScrollableContainer.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SliderComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SliderComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SwitchComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SwitchComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextEditComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextEditComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextListComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextListComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoPlayerComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoPlayerComponent.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoVlcComponent.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoVlcComponent.h
|
||||||
|
|
||||||
# Guis
|
# Guis
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiDetectDevice.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiDetectDevice.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInputConfig.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInputConfig.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMsgBox.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMsgBox.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiTextEditPopup.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiTextEditPopup.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiComplexTextEditPopup.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiComplexTextEditPopup.h
|
||||||
|
|
||||||
# Math
|
# Math
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Misc.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Misc.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Transform4x4f.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Transform4x4f.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2f.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2f.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2i.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2i.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector3f.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector3f.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector4f.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector4f.h
|
||||||
|
|
||||||
# Renderers
|
# Renderers
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer.h
|
||||||
|
|
||||||
# Resources
|
# Resources
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Font.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Font.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/ResourceManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/ResourceManager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureResource.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureResource.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureData.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureData.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureDataManager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureDataManager.h
|
||||||
|
|
||||||
# Utils
|
# Utils
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.h
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CORE_SOURCES
|
set(CORE_SOURCES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/AudioManager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/AudioManager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/CECInput.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/CECInput.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/GuiComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/GuiComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/HelpStyle.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/HelpStyle.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/HttpReq.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/HttpReq.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/ImageIO.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ImageIO.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/InputConfig.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/InputConfig.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Scripting.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Scripting.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.cpp
|
||||||
|
|
||||||
# Animations
|
# Animations
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/AnimationController.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/AnimationController.cpp
|
||||||
|
|
||||||
# GuiComponents
|
# GuiComponents
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/BusyComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/BusyComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ButtonComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ButtonComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentGrid.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentGrid.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentList.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ComponentList.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeEditComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/DateTimeEditComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/HelpComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/HelpComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/GridTileComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/GridTileComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ImageComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/MenuComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/MenuComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/NinePatchComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/NinePatchComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/RatingComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/RatingComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ScrollableContainer.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/ScrollableContainer.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SliderComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SliderComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SwitchComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/SwitchComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextEditComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/TextEditComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoPlayerComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoPlayerComponent.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoVlcComponent.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/components/VideoVlcComponent.cpp
|
||||||
|
|
||||||
# Guis
|
# Guis
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiDetectDevice.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiDetectDevice.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInputConfig.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiInputConfig.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMsgBox.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiMsgBox.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiTextEditPopup.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiTextEditPopup.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiComplexTextEditPopup.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/guis/GuiComplexTextEditPopup.cpp
|
||||||
|
|
||||||
# Math
|
# Math
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Misc.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Misc.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Transform4x4f.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Transform4x4f.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2f.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2f.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2i.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector2i.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector3f.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector3f.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector4f.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/math/Vector4f.cpp
|
||||||
|
|
||||||
# Renderer
|
# Renderer
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer_GL21.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer_GL21.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer_GLES10.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/renderers/Renderer_GLES10.cpp
|
||||||
|
|
||||||
# Resources
|
# Resources
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Font.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Font.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/ResourceManager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/ResourceManager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureResource.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureResource.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureData.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureData.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureDataManager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/resources/TextureDataManager.cpp
|
||||||
|
|
||||||
# Utils
|
# Utils
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(${COMMON_INCLUDE_DIRS})
|
include_directories(${COMMON_INCLUDE_DIRS})
|
||||||
|
|
Loading…
Reference in a new issue