qmake: Remove!

25% of the build systems have been removed.
This commit is contained in:
Florent Castelli 2016-10-13 03:27:06 +02:00
parent 38ccdd2c3b
commit 6ab5243101
15 changed files with 0 additions and 700 deletions

View File

@ -1,72 +0,0 @@
QT -= gui
TARGET = Common
TEMPLATE = lib
CONFIG += staticlib
include(Settings.pri)
# CPU
arm {
SOURCES += $$P/Common/ArmCPUDetect.cpp
}
else:i86 {
SOURCES += $$P/Common/ABI.cpp \
$$P/Common/CPUDetect.cpp \
$$P/Common/Thunk.cpp \
$$P/Common/x64Analyzer.cpp \
$$P/Common/x64Emitter.cpp
HEADERS += $$P/Common/ABI.h \
$$P/Common/Thunk.h \
$$P/Common/x64Analyzer.h \
$$P/Common/x64Emitter.h
}
else:mips: {
SOURCES += $$P/Common/MipsCPUDetect.cpp
}
else {
SOURCES += $$P/Common/FakeCPUDetect.cpp
}
SOURCES += $$P/Common/ArmEmitter.cpp \
$$P/Common/MipsEmitter.cpp
HEADERS += $$P/Common/ArmEmitter.h \
$$P/Common/MipsEmitter.h \
$$P/Common/CPUDetect.h
win32 {
SOURCES += $$P/Common/stdafx.cpp
HEADERS += $$P/Common/stdafx.h
}
armv7: SOURCES += $$P/Common/ColorConvNEON.cpp
SOURCES += $$P/Common/ChunkFile.cpp \
$$P/Common/ColorConv.cpp \
$$P/Common/ConsoleListener.cpp \
$$P/Common/FileUtil.cpp \
$$P/Common/LogManager.cpp \
$$P/Common/KeyMap.cpp \
$$P/Common/MemArena.cpp \
$$P/Common/MemoryUtil.cpp \
$$P/Common/Misc.cpp \
$$P/Common/MsgHandler.cpp \
$$P/Common/StringUtils.cpp \
$$P/Common/ThreadPools.cpp \
$$P/Common/Timer.cpp \
$$P/Common/Crypto/*.cpp
HEADERS += $$P/Common/ChunkFile.h \
$$P/Common/ConsoleListener.h \
$$P/Common/FileUtil.h \
$$P/Common/LogManager.h \
$$P/Common/KeyMap.h \
$$P/Common/MemArena.h \
$$P/Common/MemoryUtil.h \
$$P/Common/MsgHandler.h \
$$P/Common/StringUtils.h \
$$P/Common/ThreadPools.h \
$$P/Common/ThreadSafeList.h \
$$P/Common/Timer.h \
$$P/Common/Crypto/*.h
INCLUDEPATH += $$P/ext/native
INCLUDEPATH += $$P/ext

View File

@ -1,72 +0,0 @@
QT -= gui
TARGET = Core
TEMPLATE = lib
CONFIG += staticlib
include(Settings.pri)
INCLUDEPATH += $$P/ $$P/ext/native $$P/Core/MIPS $$P/ext/xbrz
!exists( /usr/include/GL/glew.h ) {
!contains(DEFINES, USING_GLES2): INCLUDEPATH += $$P/ext/native/ext/glew
}
arm {
SOURCES += $$P/Core/MIPS/ARM/*.cpp #CoreARM
HEADERS += $$P/Core/MIPS/ARM/*.h
}
else:i86 {
SOURCES += $$P/Core/MIPS/x86/*.cpp
HEADERS += $$P/Core/MIPS/x86/*.h
}
else:mips {
SOURCES += $$P/Core/MIPS/MIPS/*.cpp
HEADERS += $$P/Core/MIPS/MIPS/*.h
}
else {
SOURCES += $$P/Core/MIPS/fake/*.cpp
HEADERS += $$P/Core/MIPS/fake/*.h
}
SOURCES += $$P/ext/disarm.cpp
SOURCES += $$P/Core/*.cpp \ # Core
$$P/Core/Debugger/*.cpp \
$$P/Core/Dialog/*.cpp \
$$P/Core/ELF/*.cpp \
$$P/Core/FileLoaders/*.cpp \
$$P/Core/FileSystems/*.cpp \
$$P/Core/Font/*.cpp \
$$P/Core/HLE/*.cpp \
$$P/Core/HW/*.cpp \
$$P/Core/MIPS/*.cpp \
$$P/Core/MIPS/IR/*.cpp \
$$P/Core/MIPS/JitCommon/*.cpp \
$$P/Core/Util/AudioFormat.cpp \
$$P/Core/Util/BlockAllocator.cpp \
$$P/Core/Util/GameManager.cpp \
$$P/Core/Util/ppge_atlas.cpp \
$$P/Core/Util/PPGeDraw.cpp \
$$P/ext/libkirk/*.c \ # Kirk
$$P/ext/sfmt19937/*.c
HEADERS += $$P/Core/*.h \
$$P/Core/Debugger/*.h \
$$P/Core/Dialog/*.h \
$$P/Core/ELF/*.h \
$$P/Core/FileSystems/*.h \
$$P/Core/Font/*.h \
$$P/Core/HLE/*.h \
$$P/Core/HW/*.h \
$$P/Core/MIPS/*.h \
$$P/Core/MIPS/IR/*.h \
$$P/Core/MIPS/JitCommon/*.h \
$$P/Core/Util/AudioFormat.h \
$$P/Core/Util/BlockAllocator.h \
$$P/Core/Util/GameManager.h \
$$P/Core/Util/ppge_atlas.h \
$$P/Core/Util/PPGeDraw.h \
$$P/ext/libkirk/*.h \
$$P/ext/sfmt19937/*.h
armv7: SOURCES += $$P/Core/Util/AudioFormatNEON.cpp
win32: INCLUDEPATH += $$P/ffmpeg/WindowsInclude

View File

@ -1,78 +0,0 @@
QT += opengl
QT -= gui
TARGET = GPU
TEMPLATE = lib
CONFIG += staticlib
include(Settings.pri)
INCLUDEPATH += $$P/ $$P/ext/native
!exists( /usr/include/GL/glew.h ) {
!contains(DEFINES, USING_GLES2): INCLUDEPATH += $$P/ext/native/ext/glew
}
win32 {
SOURCES += $$P/Windows/OpenGLBase.cpp
HEADERS += $$P/Windows/OpenGLBase.h
SOURCES += $$P/GPU/Directx9/helper/*.cpp
HEADERS += $$P/GPU/Directx9/helper/*.h
SOURCES += $$P/GPU/Directx9/*.cpp
HEADERS += $$P/GPU/Directx9/*.h
INCLUDEPATH += $$P/dx9sdk/Include
}
SOURCES += $$P/GPU/GeDisasm.cpp \ # GPU
$$P/GPU/GPU.cpp \
$$P/GPU/GPUCommon.cpp \
$$P/GPU/GPUState.cpp \
$$P/GPU/Math3D.cpp \
$$P/GPU/Null/NullGpu.cpp \
$$P/GPU/GLES/FBO.cpp \
$$P/GPU/GLES/DepalettizeShader.cpp \
$$P/GPU/GLES/FragmentShaderGenerator.cpp \
$$P/GPU/GLES/FragmentTestCache.cpp \
$$P/GPU/GLES/Framebuffer.cpp \
$$P/GPU/GLES/GLStateCache.cpp \
$$P/GPU/GLES/GPU_GLES.cpp \
$$P/GPU/GLES/ShaderManager.cpp \
$$P/GPU/GLES/StateMapping.cpp \
$$P/GPU/GLES/StencilBuffer.cpp \
$$P/GPU/GLES/TextureCache.cpp \
$$P/GPU/GLES/TextureScaler.cpp \
$$P/GPU/GLES/DrawEngineGLES.cpp \
$$P/GPU/GLES/VertexShaderGenerator.cpp \
$$P/GPU/Software/*.cpp \
$$P/GPU/Debugger/*.cpp \
$$P/GPU/Common/DepalettizeShaderCommon.cpp \
$$P/GPU/Common/GPUDebugInterface.cpp \
$$P/GPU/Common/GPUStateUtils.cpp \
$$P/GPU/Common/ShaderId.cpp \
$$P/GPU/Common/IndexGenerator.cpp \
$$P/GPU/Common/TextureDecoder.cpp \
$$P/GPU/Common/TextureScalerCommon.cpp \
$$P/GPU/Common/VertexDecoderCommon.cpp \
$$P/GPU/Common/TextureCacheCommon.cpp \
$$P/GPU/Common/TransformCommon.cpp \
$$P/GPU/Common/SoftwareTransformCommon.cpp \
$$P/GPU/Common/PostShader.cpp \
$$P/GPU/Common/FramebufferCommon.cpp \
$$P/GPU/Common/SplineCommon.cpp \
$$P/GPU/Common/DrawEngineCommon.cpp \
$$P/ext/xxhash.c \ # xxHash
$$P/ext/xbrz/*.cpp \ # XBRZ
$$P/Core/TextureReplacer.cpp # Bit of a hack. Avoids a linking issue.
armv7: SOURCES += $$P/GPU/Common/TextureDecoderNEON.cpp
arm: SOURCES += $$P/GPU/Common/VertexDecoderArm.cpp
else:i86: SOURCES += $$P/GPU/Common/VertexDecoderX86.cpp
else: SOURCES += $$P/GPU/Common/VertexDecoderFake.cpp
HEADERS += $$P/GPU/GLES/*.h \
$$P/GPU/Software/*.h \
$$P/GPU/Debugger/*.h \
$$P/GPU/Common/*.h \
$$P/GPU/*.h \
$$P/ext/xbrz/*.h

View File

@ -1,140 +0,0 @@
QT += opengl
QT -= gui
TARGET = Native
TEMPLATE = lib
CONFIG += staticlib
include(Settings.pri)
# To support Sailfish which is stuck on GCC 4.6
linux-g++:system($$QMAKE_CXX --version | grep \"4\.6\.\"): DEFINES+=override
INCLUDEPATH += $$P/ext/native
!exists( /usr/include/GL/glew.h ) {
!contains(DEFINES,USING_GLES2) {
SOURCES += $$P/ext/native/ext/glew/glew.c
HEADERS += $$P/ext/native/ext/glew/GL/*.h
INCLUDEPATH += $$P/ext/native/ext/glew
}
}
# RG_ETC1
SOURCES += $$P/ext/native/ext/rg_etc1/rg_etc1.cpp
HEADERS += $$P/ext/native/ext/rg_etc1/rg_etc1.h
INCLUDEPATH += $$P/ext/native/ext/rg_etc1
# Cityhash
SOURCES += ../ext/native/ext/cityhash/city.cpp
HEADERS += ../ext/native/ext/cityhash/*.h
INCLUDEPATH += ../ext/native/ext/cityhash
# JPGE
SOURCES += $$P/ext/native/ext/jpge/*.cpp
HEADERS += $$P/ext/native/ext/jpge/*.h
INCLUDEPATH += $$P/ext/native/ext/jpge
# Snappy
!exists( /usr/include/snappy-c.h ) {
SOURCES += $$P/ext/snappy/*.cpp
HEADERS += $$P/ext/snappy/*.h
INCLUDEPATH += $$P/ext/snappy
}
# udis86
SOURCES += $$P/ext/udis86/*.c
HEADERS += $$P/ext/udis86/*.h
INCLUDEPATH += $$P/ext/udis86
# VJSON
SOURCES += $$P/ext/native/ext/vjson/json.cpp \
$$P/ext/native/ext/vjson/block_allocator.cpp
HEADERS += $$P/ext/native/ext/vjson/json.h \
$$P/ext/native/ext/vjson/block_allocator.h
INCLUDEPATH += $$P/ext/native/ext/vjson
# Zlib
win32|contains(QT_CONFIG, no-zlib) {
SOURCES += $$P/ext/zlib/*.c
HEADERS += $$P/ext/zlib/*.h
}
# Libzip
!exists( /usr/include/zip.h ) {
SOURCES += $$P/ext/native/ext/libzip/*.c
HEADERS += $$P/ext/native/ext/libzip/*.h
}
# Native
SOURCES += \
$$P/ext/native/base/backtrace.cpp \
$$P/ext/native/base/buffer.cpp \
$$P/ext/native/base/colorutil.cpp \
$$P/ext/native/base/compat.cpp \
$$P/ext/native/base/display.cpp \
$$P/ext/native/base/stringutil.cpp \
$$P/ext/native/base/timeutil.cpp \
$$P/ext/native/data/compression.cpp \
$$P/ext/native/file/*.cpp \
$$P/ext/native/gfx/gl_debug_log.cpp \
$$P/ext/native/gfx/gl_lost_manager.cpp \
$$P/ext/native/gfx/texture_atlas.cpp \
$$P/ext/native/gfx_es2/*.cpp \
$$P/ext/native/gfx_es2/*.c \
$$P/ext/native/i18n/*.cpp \
$$P/ext/native/image/*.cpp \
$$P/ext/native/input/*.cpp \
$$P/ext/native/math/curves.cpp \
$$P/ext/native/math/expression_parser.cpp \
$$P/ext/native/math/math_util.cpp \
$$P/ext/native/math/lin/*.cpp \
$$P/ext/native/math/fast/*.c \
$$P/ext/native/net/*.cpp \
$$P/ext/native/profiler/profiler.cpp \
$$P/ext/native/thin3d/thin3d.cpp \
$$P/ext/native/thin3d/thin3d_gl.cpp \
$$P/ext/native/thread/*.cpp \
$$P/ext/native/ui/*.cpp \
$$P/ext/native/util/hash/hash.cpp \
$$P/ext/native/util/text/wrap_text.cpp \
$$P/ext/native/util/text/utf8.cpp \
$$P/ext/native/util/text/parsers.cpp
armv7: SOURCES += $$files($$P/ext/native/math/fast/fast_matrix_neon.S)
HEADERS += \
$$P/ext/native/base/backtrace.h \
$$P/ext/native/base/basictypes.h \
$$P/ext/native/base/buffer.h \
$$P/ext/native/base/colorutil.h \
$$P/ext/native/base/display.h \
$$P/ext/native/base/linked_ptr.h \
$$P/ext/native/base/logging.h \
$$P/ext/native/base/mutex.h \
$$P/ext/native/base/stringutil.h \
$$P/ext/native/base/timeutil.h \
$$P/ext/native/data/compression.h \
$$P/ext/native/file/*.h \
$$P/ext/native/gfx/*.h \
$$P/ext/native/gfx_es2/*.h \
$$P/ext/native/i18n/*.h \
$$P/ext/native/image/*.h \
$$P/ext/native/input/*.h \
$$P/ext/native/math/*.h \
$$P/ext/native/math/lin/*.h \
$$P/ext/native/math/fast/*.h \
$$P/ext/native/net/*.h \
$$P/ext/native/profiler/profiler.h \
$$P/ext/native/thread/*.h \
$$P/ext/native/ui/*.h \
$$P/ext/native/util/hash/hash.h \
$$P/ext/native/util/random/*.h \
$$P/ext/native/util/text/wrap_text.h \
$$P/ext/native/util/text/utf8.h \
$$P/ext/native/util/text/parsers.h

View File

@ -1,120 +0,0 @@
TARGET = ppsspp
# Main Qt modules
QT += core gui opengl
# PPSSPP Modules
LIBS += -lCore -lGPU -lCommon -lNative
include(Settings.pri)
# To support Sailfish which is stuck on GCC 4.6
linux-g++:system($$QMAKE_CXX --version | grep \"4\.6\.\"): DEFINES+=override
lessThan(QT_MAJOR_VERSION, 5) {
macx: error(PPSSPP requires Qt5 for OS X but $$[QT_VERSION] was detected.)
else:lessThan(QT_MINOR_VERSION, 7): error(PPSSPP requires Qt 4.7 or newer but Qt $$[QT_VERSION] was detected.)
}
# Extra Qt modules
greaterThan(QT_MAJOR_VERSION,4) {
QT += widgets
# Most platforms don't have this pre-installed. Especially hard to get on OSX.
exists($$[QT_INSTALL_HEADERS]/QtSystemInfo) {
QT += systeminfo
DEFINES += QT_HAS_SYSTEMINFO
}
mobile_platform: QT += sensors
} else:mobile_platform {
CONFIG += mobility
MOBILITY += sensors
}
# External (platform-dependant) libs
macx|equals(PLATFORM_NAME, "linux") {
PRE_TARGETDEPS += $$CONFIG_DIR/libCommon.a $$CONFIG_DIR/libCore.a $$CONFIG_DIR/libGPU.a $$CONFIG_DIR/libNative.a
CONFIG += link_pkgconfig
packagesExist(sdl2) {
DEFINES += SDL
SOURCES += $$P/SDL/SDLJoystick.cpp
HEADERS += $$P/SDL/SDLJoystick.h
PKGCONFIG += sdl2
}
}
exists( /usr/include/GL/glew.h ) {
LIBS += -lGLEW
}
exists( /usr/include/snappy-c.h ) {
LIBS += -lsnappy
}
exists( /usr/include/zip.h ) {
LIBS += -lzip
}
unix:contains(QT_CONFIG, system-zlib) {
LIBS += -lz
}
# Qt Multimedia (if SDL is not found)
!contains(DEFINES, SDL) {
lessThan(QT_MAJOR_VERSION,5):!exists($$[QT_INSTALL_HEADERS]/QtMultimedia) {
# Fallback to mobility audio
CONFIG += mobility
MOBILITY += multimedia
}
else: QT += multimedia
}
# Main
SOURCES += $$P/ext/native/base/QtMain.cpp
HEADERS += $$P/ext/native/base/QtMain.h
# UI
SOURCES += $$P/UI/*.cpp \
$$P/android/jni/TestRunner.cpp
arm:android: SOURCES += $$P/android/jni/ArmEmitterTest.cpp
HEADERS += $$P/UI/*.h
INCLUDEPATH += $$P $$P/Common $$P/ext/native $$P/ext/native/ext
!exists( /usr/include/GL/glew.h ) {
INCLUDEPATH += $$P/ext/native/ext/glew
}
mobile_platform {
!no_assets: RESOURCES += $$P/Qt/assets.qrc
} else {
# TODO: Rewrite Debugger with same backend as Windows version
# Do not use .ui forms. Use Qt5 + C++11 features to minimise code
SOURCES += $$P/Qt/*.cpp $$P/Qt/Debugger/*.cpp
HEADERS += $$P/Qt/*.h $$P/Qt/Debugger/*.h
FORMS += $$P/Qt/Debugger/*.ui
!no_assets: RESOURCES += $$P/Qt/desktop_assets.qrc
INCLUDEPATH += $$P/Qt $$P/Qt/Debugger
# Creating translations should be done by Qt, really
isEmpty(LREL_TOOL): LREL_TOOL = lrelease
# Grab all possible directories (win32/unix)
win32: PATHS = $$split($$(PATH), ;)
else: PATHS = $$split($$(PATH), :)
# Either -qt4 or -qt5 will work.
for(bin, PATHS): exists($${bin}/$${LREL_TOOL}-qt4): LREL_TOOL=$${bin}/$${LREL_TOOL}-qt4
for(bin, PATHS): exists($${bin}/$${LREL_TOOL}-qt5): LREL_TOOL=$${bin}/$${LREL_TOOL}-qt5
# Translations
TRANSLATIONS = $$files($$P/Qt/languages/ppsspp_*.ts)
lang.name = $$LREL_TOOL ${QMAKE_FILE_IN}
lang.input = TRANSLATIONS
lang.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
lang.commands = $$LREL_TOOL ${QMAKE_FILE_IN}
lang.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += lang
PRE_TARGETDEPS += compiler_lang_make_all
}

View File

@ -1,4 +0,0 @@
TEMPLATE = subdirs
SUBDIRS = Native.pro Core.pro GPU.pro Common.pro PPSSPP.pro
CONFIG += ordered
PPSSPP.depends = Native.pro GPU.pro Core.pro Common.pro

View File

@ -1,44 +0,0 @@
PLATFORM_ARCH="generic"
contains(QT_ARCH, ".*86.*")|contains(QMAKE_TARGET.arch, ".*86.*") {
!win32-msvc*: QMAKE_ALLFLAGS += -msse2
else: QMAKE_ALLFLAGS += /arch:SSE2
CONFIG += i86
contains(QT_ARCH, x86_64)|contains(QMAKE_TARGET.arch, x86_64) {
PLATFORM_ARCH = x86_64
DEFINES += _M_X64 _ARCH_64
}
else {
PLATFORM_ARCH = x86
DEFINES += _M_IX86 _ARCH_32
}
} else:contains(QT_ARCH, ".*arm.*")|contains(QMAKE_TARGET.arch, ".*arm.*") {
DEFINES += ARM _ARCH_32
CONFIG += arm
# Will need to see how QT_ARCH and QMAKE_TARGET.arch are populated for various ARM platforms.
PLATFORM_ARCH="armv7"
CONFIG += armv7
QMAKE_CFLAGS_RELEASE ~= s/-mfpu.*/
QMAKE_CFLAGS_DEBUG ~= s/-mfpu.*/
QMAKE_ALLFLAGS_DEBUG += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize
QMAKE_ALLFLAGS_RELEASE += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize
# TODO: aarch32/64?
} else:contains(QT_ARCH, ".*mips.*") {
DEFINES += MIPS
CONFIG += mips
PLATFORM_ARCH="mips32"
DEFINES += _ARCH_32
} else {
# Generic
warning("You are using an untested arch: $${QT_ARCH}. Only x86 and ARM CPUs are supported")
DEFINES += GENERIC_ARCH
CONFIG += generic
PLATFORM_ARCH=$${QT_ARCH}
DEFINES += _ARCH_32
}
# Odd one out
ios: PLATFORM_ARCH="universal"

View File

@ -1,13 +0,0 @@
# This file is to add features deemed necessary that don't exist in qmake.conf
# There is no linux setting in qmake.conf
# All supported platforms that require tweaks
PLATFORM_NAME="generic"
win32: PLATFORM_NAME="Windows"
unix: PLATFORM_NAME="linux"
mac: PLATFORM_NAME="macosx"
ios: PLATFORM_NAME="ios"
android: PLATFORM_NAME="android"
!equals(PLATFORM_NAME, "generic"): include($$PLATFORM_NAME".pri")

View File

@ -1,15 +0,0 @@
PRECOMPILED_HEADER = $$P/Windows/stdafx.h
PRECOMPILED_SOURCE = $$P/Windows/stdafx.cpp
INCLUDEPATH += $$P
!contains(CONFIG, staticlib) {
# Executable
# Use a fixed base-address under windows
QMAKE_LFLAGS += /FIXED /BASE:"0x00400000" /DYNAMICBASE:NO
LIBS += -lwinmm -lws2_32 -lShell32 -lAdvapi32
contains(QMAKE_TARGET.arch, x86_64): LIBS += $$files($$P/dx9sdk/Lib/x64/*.lib)
else: LIBS += $$files($$P/dx9sdk/Lib/x86/*.lib)
# Packaging
ICON = $$P/Windows/ppsspp.rc
}

View File

@ -1,6 +0,0 @@
INCLUDEPATH += $$P/ext/native/ext/libzip
!contains(CONFIG, staticlib) {
# Packaging
ANDROID_PACKAGE_SOURCE_DIR = $$P/android
}

View File

@ -1 +0,0 @@
DEFINES += IOS

View File

@ -1,35 +0,0 @@
!contains(CONFIG, staticlib) {
isEmpty(PREFIX) {
PREFIX = /usr
}
# Executable
LIBS += $$QMAKE_LIBS_DYNLOAD # dlopen
linux-*|hpux-*|solaris-*: LIBS += -lrt # clock_gettime
# Packaging
icon16.files = $$P/icons/hicolor/16x16/apps/ppsspp.png
icon16.path = $$DESTDIR$$PREFIX/share/icons/hicolor/16x16/apps
icon32.files = $$P/icons/hicolor/32x32/apps/ppsspp.png
icon32.path = $$DESTDIR$$PREFIX/share/icons/hicolor/32x32/apps
icon64.files = $$P/icons/hicolor/64x64/apps/ppsspp.png
icon64.path = $$DESTDIR$$PREFIX/share/icons/hicolor/64x64/apps
icon96.files = $$P/icons/hicolor/96x96/apps/ppsspp.png
icon96.path = $$DESTDIR$$PREFIX/share/icons/hicolor/96x96/apps
icon256.files = $$P/icons/hicolor/256x256/apps/ppsspp.png
icon256.path = $$DESTDIR$$PREFIX/share/icons/hicolor/256x256/apps
icon512.files = $$P/icons/hicolor/512x512/apps/ppsspp.png
icon512.path = $$DESTDIR$$PREFIX/share/icons/hicolor/512x512/apps
applications.files = $$P/debian/ppsspp.desktop
applications.path = $$DESTDIR$$PREFIX/share/applications
INSTALLS += icon16 icon32 icon64 icon96 icon256 icon512 applications
}

View File

@ -1,6 +0,0 @@
QT_CONFIG -= no-pkg-config
!contains(CONFIG, staticlib) {
# Executable
LIBS += -liconv
}

View File

@ -1,80 +0,0 @@
VERSION = 1.3.0.0
DEFINES += USING_QT_UI USE_FFMPEG NO_VULKAN
exists( /usr/include/snappy-c.h ) {
DEFINES += SHARED_SNAPPY
}
unix:contains(QT_CONFIG, system-zlib) {
DEFINES += SHARED_ZLIB
}
exists( /usr/include/zip.h ) {
DEFINES += SHARED_LIBZIP
}
# Global specific
win32:CONFIG(release, debug|release): CONFIG_DIR = $$join(OUT_PWD,,,/release)
else:win32:CONFIG(debug, debug|release): CONFIG_DIR = $$join(OUT_PWD,,,/debug)
else:CONFIG_DIR=$$OUT_PWD
OBJECTS_DIR = $$CONFIG_DIR/.obj/$$TARGET
MOC_DIR = $$CONFIG_DIR/.moc/$$TARGET
UI_DIR = $$CONFIG_DIR/.ui/$$TARGET
RCC_DIR = $$CONFIG_DIR/.rcc/$$TARGET
QMAKE_CLEAN += -r $$OBJECTS_DIR $$MOC_DIR $$UI_DIR $$RCC_DIR
P = $$_PRO_FILE_PWD_/..
INCLUDEPATH += $$P/Common
win32|contains(QT_CONFIG, no-zlib): INCLUDEPATH += $$P/ext/zlib
# Work out arch name
include(Platform/ArchDetection.pri)
# Work out platform name
include(Platform/OSDetection.pri)
# OS dependent paths
!system_ffmpeg: INCLUDEPATH += $$P/ffmpeg/$${PLATFORM_NAME}/$${PLATFORM_ARCH}/include
!contains(CONFIG, staticlib) {
QMAKE_LIBDIR += $$CONFIG_DIR
!system_ffmpeg: QMAKE_LIBDIR += $$P/ffmpeg/$${PLATFORM_NAME}/$${PLATFORM_ARCH}/lib/
contains(DEFINES, USE_FFMPEG): LIBS+= -lavformat -lavcodec -lavutil -lswresample -lswscale
equals(PLATFORM_NAME, "linux"):arm|android: LIBS += -lEGL
}
# Work out the git version in a way that works on every QMake
# QMake seems to change how it handles quotes with every version. This works for most systems:
exists($$P/.git): GIT_VERSION = '\\"$$system(git describe --always)\\"'
isEmpty(GIT_VERSION): GIT_VERSION = '\\"$$VERSION\\"'
DEFINES += PPSSPP_GIT_VERSION=\"$$GIT_VERSION\"
# Optimisations
win32-msvc* {
DEFINES += _MBCS GLEW_STATIC _CRT_SECURE_NO_WARNINGS "_VARIADIC_MAX=10"
contains(DEFINES, UNICODE): DEFINES += _UNICODE
QMAKE_ALLFLAGS_RELEASE += /O2 /fp:fast
} else {
DEFINES += __STDC_CONSTANT_MACROS
QMAKE_CXXFLAGS += -Wno-unused-function -Wno-unused-variable -Wno-strict-aliasing -fno-strict-aliasing -Wno-unused-parameter -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers
greaterThan(QT_MAJOR_VERSION,4): CONFIG+=c++11
else: QMAKE_CXXFLAGS += -std=c++11
QMAKE_CFLAGS_RELEASE ~= s/-O.*/
QMAKE_CXXFLAGS_RELEASE ~= s/-O.*/
QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math
}
contains(QT_CONFIG, opengles.) {
DEFINES += USING_GLES2
# How else do we know if the environment prefers windows?
!equals(PLATFORM_NAME, "linux")|android {
CONFIG += mobile_platform
}
}
mobile_platform: DEFINES += MOBILE_DEVICE
# Handle flags for both C and C++
QMAKE_CFLAGS += $$QMAKE_ALLFLAGS
QMAKE_CXXFLAGS += $$QMAKE_ALLFLAGS
QMAKE_CFLAGS_DEBUG += $$QMAKE_ALLFLAGS_DEBUG
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_ALLFLAGS_DEBUG
QMAKE_CFLAGS_RELEASE += $$QMAKE_ALLFLAGS_RELEASE
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_ALLFLAGS_RELEASE

View File

@ -1,14 +0,0 @@
<RCC>
<qresource prefix="/">
<file alias="assets/ui_atlas_lowmem.zim">../assets/ui_atlas_lowmem.zim</file>
<file alias="assets/ppge_atlas.zim">../assets/ppge_atlas.zim</file>
<file alias="assets/lang">../lang</file>
<file alias="assets/compat.ini">../assets/compat.ini</file>
<file alias="assets/langregion.ini">../assets/langregion.ini</file>
<file alias="assets/unknown.png">../assets/unknown.png</file>
<file alias="assets/shaders">../assets/shaders</file>
<file alias="assets/flash0/font">../flash0/font</file>
<file alias="assets/rargray.png">../assets/rargray.png</file>
<file alias="assets/zip.png">../assets/zip.png</file>
</qresource>
</RCC>