Simplify Qt project files and make it easier to respond to updates.

This commit is contained in:
Sacha 2013-02-01 02:25:11 +10:00
parent 6d63403f69
commit 78f8dd0a1e
3 changed files with 59 additions and 330 deletions

View file

@ -31,12 +31,6 @@ win32 {
SOURCES += ../Common/ColorUtil.cpp \
../Common/ConsoleListener.cpp \
../Common/Crypto/aes_cbc.cpp \
../Common/Crypto/aes_core.cpp \
../Common/Crypto/bn.cpp \
../Common/Crypto/ec.cpp \
../Common/Crypto/md5.cpp \
../Common/Crypto/sha1.cpp \
../Common/ExtendedTrace.cpp \
../Common/FPURoundModeGeneric.cpp \
../Common/FileSearch.cpp \
@ -52,11 +46,10 @@ SOURCES += ../Common/ColorUtil.cpp \
../Common/StringUtil.cpp \
../Common/Thread.cpp \
../Common/Timer.cpp \
../Common/Version.cpp
../Common/Version.cpp \
../Common/Crypto/*.cpp
HEADERS += ../Common/ColorUtil.h \
../Common/ConsoleListener.h \
../Common/Crypto/md5.h \
../Common/Crypto/sha1.h \
../Common/ExtendedTrace.h \
../Common/FileSearch.h \
../Common/FileUtil.h \
@ -69,5 +62,6 @@ HEADERS += ../Common/ColorUtil.h \
../Common/MsgHandler.h \
../Common/StringUtil.h \
../Common/Thread.h \
../Common/Timer.h
../Common/Timer.h \
../Common/Crypto/*.h

View file

@ -9,256 +9,66 @@ include(Settings.pri)
INCLUDEPATH += ../native ../Core/MIPS ../Common ../
arm {
SOURCES += ../Core/MIPS/ARM/ArmAsm.cpp \ #CoreARM
../Core/MIPS/ARM/ArmCompALU.cpp \
../Core/MIPS/ARM/ArmCompBranch.cpp \
../Core/MIPS/ARM/ArmCompFPU.cpp \
../Core/MIPS/ARM/ArmCompLoadStore.cpp \
../Core/MIPS/ARM/ArmCompVFPU.cpp \
../Core/MIPS/ARM/ArmJit.cpp \
../Core/MIPS/ARM/ArmJitCache.cpp \
../Core/MIPS/ARM/ArmRegCache.cpp \
../Core/MIPS/ARM/ArmRegCacheFPU.cpp \
SOURCES += ../Core/MIPS/ARM/*.cpp \ #CoreARM
../ext/disarm.cpp
HEADERS += ../Core/MIPS/ARM/ArmAsm.h \
../Core/MIPS/ARM/ArmJit.h \
../Core/MIPS/ARM/ArmJitCache.h \
../Core/MIPS/ARM/ArmRegCache.h \
../Core/MIPS/ARM/ArmRegCacheFPU.h
HEADERS += ../Core/MIPS/ARM/*.h
}
x86 {
SOURCES += ../Core/MIPS/x86/Asm.cpp \
../Core/MIPS/x86/CompALU.cpp \
../Core/MIPS/x86/CompBranch.cpp \
../Core/MIPS/x86/CompFPU.cpp \
../Core/MIPS/x86/CompLoadStore.cpp \
../Core/MIPS/x86/CompVFPU.cpp \
../Core/MIPS/x86/Jit.cpp \
../Core/MIPS/x86/JitCache.cpp \
../Core/MIPS/x86/RegCache.cpp \
../Core/MIPS/x86/RegCacheFPU.cpp
HEADERS += ../Core/MIPS/x86/Asm.h \
../Core/MIPS/x86/Jit.h \
../Core/MIPS/x86/JitCache.h \
../Core/MIPS/x86/RegCache.h \
../Core/MIPS/x86/RegCacheFPU.h
SOURCES += ../Core/MIPS/x86/*.cpp
HEADERS += ../Core/MIPS/x86/*.h
}
SOURCES += ../Core/CPU.cpp \ # Core
SOURCES += ../Core/CPU.cpp \ # Core
../Core/Config.cpp \
../Core/Core.cpp \
../Core/CoreTiming.cpp \
../Core/Debugger/Breakpoints.cpp \
../Core/Debugger/SymbolMap.cpp \
../Core/Dialog/PSPDialog.cpp \
../Core/Dialog/PSPMsgDialog.cpp \
../Core/Dialog/PSPOskDialog.cpp \
../Core/Dialog/PSPPlaceholderDialog.cpp \
../Core/Dialog/PSPSaveDialog.cpp \
../Core/Dialog/SavedataParam.cpp \
../Core/ELF/ElfReader.cpp \
../Core/ELF/PrxDecrypter.cpp \
../Core/ELF/ParamSFO.cpp \
../Core/FileSystems/BlockDevices.cpp \
../Core/FileSystems/DirectoryFileSystem.cpp \
../Core/FileSystems/ISOFileSystem.cpp \
../Core/FileSystems/MetaFileSystem.cpp \
../Core/HLE/HLE.cpp \
../Core/HLE/HLETables.cpp \
../Core/HLE/__sceAudio.cpp \
../Core/HLE/sceAtrac.cpp \
../Core/HLE/sceAudio.cpp \
../Core/HLE/sceCtrl.cpp \
../Core/HLE/sceChnnlsv.cpp \
../Core/HLE/sceDisplay.cpp \
../Core/HLE/sceDmac.cpp \
../Core/HLE/sceGe.cpp \
../Core/HLE/sceFont.cpp \
../Core/HLE/sceHprm.cpp \
../Core/HLE/sceHttp.cpp \
../Core/HLE/sceImpose.cpp \
../Core/HLE/sceIo.cpp \
../Core/HLE/sceKernel.cpp \
../Core/HLE/sceKernelAlarm.cpp \
../Core/HLE/sceKernelEventFlag.cpp \
../Core/HLE/sceKernelInterrupt.cpp \
../Core/HLE/sceKernelMbx.cpp \
../Core/HLE/sceKernelMemory.cpp \
../Core/HLE/sceKernelModule.cpp \
../Core/HLE/sceKernelMsgPipe.cpp \
../Core/HLE/sceKernelMutex.cpp \
../Core/HLE/sceKernelSemaphore.cpp \
../Core/HLE/sceKernelThread.cpp \
../Core/HLE/sceKernelThread.h \
../Core/HLE/sceKernelTime.cpp \
../Core/HLE/sceKernelVTimer.cpp \
../Core/HLE/sceMpeg.cpp \
../Core/HLE/sceNet.cpp \
../Core/HLE/sceOpenPSID.cpp \
../Core/HLE/sceParseHttp.cpp \
../Core/HLE/sceParseUri.cpp \
../Core/HLE/scePower.cpp \
../Core/HLE/scePsmf.cpp \
../Core/HLE/sceRtc.cpp \
../Core/HLE/sceSas.cpp \
../Core/HLE/sceSsl.cpp \
../Core/HLE/sceUmd.cpp \
../Core/HLE/sceUsb.cpp \
../Core/HLE/sceUtility.cpp \
../Core/HLE/sceVaudio.cpp \
../Core/HW/MediaEngine.cpp \
../Core/HW/MemoryStick.cpp \
../Core/HW/SasAudio.cpp \
../Core/Host.cpp \
../Core/Loaders.cpp \
../Core/MIPS/JitCommon/JitCommon.cpp \
../Core/MIPS/MIPS.cpp \
../Core/MIPS/MIPSAnalyst.cpp \
../Core/MIPS/MIPSCodeUtils.cpp \
../Core/MIPS/MIPSDebugInterface.cpp \
../Core/MIPS/MIPSDis.cpp \
../Core/MIPS/MIPSDisVFPU.cpp \
../Core/MIPS/MIPSInt.cpp \
../Core/MIPS/MIPSIntVFPU.cpp \
../Core/MIPS/MIPSTables.cpp \
../Core/MIPS/MIPSVFPUUtils.cpp \
../Core/MemMap.cpp \
../Core/MemMapFunctions.cpp \
../Core/PSPLoaders.cpp \
../Core/PSPMixer.cpp \
../Core/SaveState.cpp \
../Core/System.cpp \
../Core/Util/BlockAllocator.cpp \
../Core/Util/PPGeDraw.cpp \
../Core/Util/ppge_atlas.cpp \ # GPU
../GPU/GLES/DisplayListInterpreter.cpp \
../GPU/GLES/FragmentShaderGenerator.cpp \
../GPU/GLES/Framebuffer.cpp \
../GPU/GLES/IndexGenerator.cpp \
../GPU/GLES/ShaderManager.cpp \
../GPU/GLES/StateMapping.cpp \
../GPU/GLES/TextureCache.cpp \
../GPU/GLES/TransformPipeline.cpp \
../GPU/GLES/VertexDecoder.cpp \
../GPU/GLES/VertexShaderGenerator.cpp \
../GPU/GeDisasm.cpp \
../Core/Debugger/*.cpp \
../Core/Dialog/*.cpp \
../Core/ELF/*.cpp \
../Core/FileSystems/*.cpp \
../Core/HLE/*.cpp \
../Core/HW/*.cpp \
../Core/MIPS/*.cpp \
../Core/MIPS/JitCommon/*.cpp \
../Core/Util/*.cpp \
../GPU/GeDisasm.cpp \ # GPU
../GPU/GPUCommon.cpp \
../GPU/GPUState.cpp \
../GPU/Math3D.cpp \
../GPU/Null/NullGpu.cpp \ # Kirk
../ext/libkirk/AES.c \
../ext/libkirk/SHA1.c \
../ext/libkirk/bn.c \
../ext/libkirk/ec.c \
../ext/libkirk/kirk_engine.c
../GPU/Null/NullGpu.cpp \
../GPU/GLES/*.cpp \
../ext/libkirk/*.c # Kirk
HEADERS += ../Core/CPU.h \
HEADERS += ../Core/CPU.h \
../Core/Config.h \
../Core/Core.h \
../Core/CoreParameter.h \
../Core/CoreTiming.h \
../Core/Debugger/Breakpoints.h \
../Core/Debugger/DebugInterface.h \
../Core/Debugger/SymbolMap.h \
../Core/Dialog/PSPDialog.h \
../Core/Dialog/PSPMsgDialog.h \
../Core/Dialog/PSPOskDialog.h \
../Core/Dialog/PSPPlaceholderDialog.h \
../Core/Dialog/PSPSaveDialog.h \
../Core/Dialog/SavedataParam.h \
../Core/ELF/ElfReader.h \
../Core/ELF/ElfTypes.h \
../Core/ELF/PrxDecrypter.h \
../Core/ELF/ParamSFO.h \
../Core/FileSystems/BlockDevices.h \
../Core/FileSystems/DirectoryFileSystem.h \
../Core/FileSystems/FileSystem.h \
../Core/FileSystems/ISOFileSystem.h \
../Core/FileSystems/MetaFileSystem.h \
../Core/HLE/FunctionWrappers.h \
../Core/HLE/HLE.h \
../Core/HLE/HLETables.h \
../Core/HLE/__sceAudio.h \
../Core/HLE/sceAtrac.h \
../Core/HLE/sceAudio.h \
../Core/HLE/sceCtrl.h \
../Core/HLE/sceChnnlsv.h \
../Core/HLE/sceDisplay.h \
../Core/HLE/sceDmac.h \
../Core/HLE/sceGe.h \
../Core/HLE/sceFont.h \
../Core/HLE/sceHprm.h \
../Core/HLE/sceHttp.h \
../Core/HLE/sceImpose.h \
../Core/HLE/sceIo.h \
../Core/HLE/sceKernel.h \
../Core/HLE/sceKernelAlarm.h \
../Core/HLE/sceKernelEventFlag.h \
../Core/HLE/sceKernelInterrupt.h \
../Core/HLE/sceKernelMbx.h \
../Core/HLE/sceKernelMemory.h \
../Core/HLE/sceKernelModule.h \
../Core/HLE/sceKernelMsgPipe.h \
../Core/HLE/sceKernelMutex.h \
../Core/HLE/sceKernelSemaphore.h \
../Core/HLE/sceMpeg.h \
../Core/HLE/sceNet.h \
../Core/HLE/sceOpenPSID.h \
../Core/HLE/sceParseHttp.h \
../Core/HLE/sceParseUri.h \
../Core/HLE/scePower.h \
../Core/HLE/scePsmf.h \
../Core/HLE/sceRtc.h \
../Core/HLE/sceSas.h \
../Core/HLE/sceSsl.h \
../Core/HLE/sceUmd.h \
../Core/HLE/sceUsb.h \
../Core/HLE/sceUtility.h \
../Core/HLE/sceVaudio.h \
../Core/HW/MediaEngine.h \
../Core/HW/MemoryStick.h \
../Core/HW/SasAudio.h \
../Core/Host.h \
../Core/Loaders.h \
../Core/MIPS/JitCommon/JitCommon.h \
../Core/MIPS/MIPS.h \
../Core/MIPS/MIPSAnalyst.h \
../Core/HLE/sceKernelTime.h \
../Core/HLE/sceKernelVTimer.h \
../Core/MIPS/MIPSCodeUtils.h \
../Core/MIPS/MIPSDebugInterface.h \
../Core/MIPS/MIPSDis.h \
../Core/MIPS/MIPSDisVFPU.h \
../Core/MIPS/MIPSInt.h \
../Core/MIPS/MIPSIntVFPU.h \
../Core/MIPS/MIPSTables.h \
../Core/MIPS/MIPSVFPUUtils.h \
../Core/MemMap.h \
../Core/PSPLoaders.h \
../Core/PSPMixer.h \
../Core/SaveState.h \
../Core/System.h \
../Core/Util/BlockAllocator.h \
../Core/Util/PPGeDraw.h \
../Core/Util/Pool.h \
../Core/Util/ppge_atlas.h \
../GPU/GLES/DisplayListInterpreter.h \
../GPU/GLES/FragmentShaderGenerator.h \
../GPU/GLES/Framebuffer.h \
../GPU/GLES/IndexGenerator.h \
../GPU/GLES/ShaderManager.h \
../GPU/GLES/StateMapping.h \
../GPU/GLES/TextureCache.h \
../GPU/GLES/TransformPipeline.h \
../GPU/GLES/VertexDecoder.h \
../GPU/GLES/VertexShaderGenerator.h \
../GPU/GPUInterface.h \
../GPU/GeDisasm.h \
../GPU/GPUCommon.h \
../GPU/GPUState.h \
../GPU/Math3D.h \
../GPU/Null/NullGpu.h \
../GPU/ge_constants.h \
../ext/libkirk/AES.h \
../ext/libkirk/SHA1.h \
../ext/libkirk/kirk_engine.h
../Core/Debugger/*.h \
../Core/Dialog/*.h \
../Core/ELF/*.h \
../Core/FileSystems/*.h \
../Core/HLE/*.h \
../Core/HW/*.h \
../Core/MIPS/*.h \
../Core/MIPS/JitCommon/*.h \
../Core/Util/*.h \
../GPU/GLES/*.h \
../GPU/*.h \
../ext/libkirk/*.h

View file

@ -8,9 +8,7 @@ include(Settings.pri)
!mobile_platform: {
SOURCES += ../native/ext/glew/glew.c
HEADERS += ../native/ext/glew/GL/glew.h \
../native/ext/glew/GL/glxew.h \
../native/ext/glew/GL/wglew.h
HEADERS += ../native/ext/glew/GL/*.h
INCLUDEPATH += ../native/ext/glew
}
@ -32,8 +30,7 @@ INCLUDEPATH += ../native/ext/etcpack
# Cityhash
SOURCES += ../native/ext/cityhash/city.cpp
HEADERS += ../native/ext/cityhash/city.h \
../native/ext/cityhash/citycrc.h
HEADERS += ../native/ext/cityhash/*.h
INCLUDEPATH += ../native/ext/cityhash
# Stb_image
@ -50,50 +47,21 @@ INCLUDEPATH += ../native/ext/stb_vorbis
# Snappy
SOURCES += ../ext/snappy/snappy-c.cpp ../ext/snappy/snappy.cpp
HEADERS += ../ext/snappy/snappy-internal.h \
../ext/snappy/snappy-sinksource.h \
../ext/snappy/snappy-stubs-internal.h \
../ext/snappy/snappy-stubs-public.h \
../ext/snappy/snappy.h
SOURCES += ../ext/snappy/*.cpp
HEADERS += ../ext/snappy/*.h
INCLUDEPATH += ../ext/snappy
# Zlib
!symbian: {
SOURCES += ../ext/zlib/adler32.c \
../ext/zlib/compress.c \
../ext/zlib/crc32.c \
../ext/zlib/deflate.c \
../ext/zlib/gzclose.c \
../ext/zlib/gzlib.c \
../ext/zlib/gzread.c \
../ext/zlib/gzwrite.c \
../ext/zlib/infback.c \
../ext/zlib/inffast.c \
../ext/zlib/inflate.c \
../ext/zlib/inflate.h \
../ext/zlib/inftrees.c \
../ext/zlib/trees.c \
../ext/zlib/uncompr.c \
../ext/zlib/zutil.c
HEADERS += ../ext/zlib/crc32.h \
../ext/zlib/deflate.h \
../ext/zlib/gzguts.h \
../ext/zlib/inffast.h \
../ext/zlib/inffixed.h \
../ext/zlib/inftrees.h \
../ext/zlib/trees.h \
../ext/zlib/zconf.h \
../ext/zlib/zlib.h \
../ext/zlib/zutil.h
SOURCES += ../ext/zlib/*.c
HEADERS += ../ext/zlib/*.h
INCLUDEPATH += ../ext/zlib
}
# Native
SOURCES += ../native/audio/mixer.cpp \
../native/audio/wav_read.cpp \
SOURCES += ../native/audio/*.cpp \
../native/base/buffer.cpp \
../native/base/colorutil.cpp \
../native/base/display.cpp \
@ -102,49 +70,31 @@ SOURCES += ../native/audio/mixer.cpp \
../native/base/stringutil.cpp \
../native/base/threadutil.cpp \
../native/base/timeutil.cpp \
../native/file/chunk_file.cpp \
../native/file/dialog.cpp \
../native/file/easy_file.cpp \
../native/file/fd_util.cpp \
../native/file/file_util.cpp \
../native/file/zip_read.cpp \
../native/file/*.cpp \
../native/gfx/gl_debug_log.cpp \
../native/gfx/gl_lost_manager.cpp \
../native/gfx/texture.cpp \
../native/gfx/texture_atlas.cpp \
../native/gfx/texture_gen.cpp \
../native/gfx_es2/draw_buffer.cpp \
../native/gfx_es2/fbo.cpp \
../native/gfx_es2/gl_state.cpp \
../native/gfx_es2/glsl_program.cpp \
../native/gfx_es2/vertex_format.cpp \
../native/image/png_load.cpp \
../native/image/zim_load.cpp \
../native/image/zim_save.cpp \
../native/gfx_es2/*.cpp \
../native/image/*.cpp \
../native/input/gesture_detector.cpp \
../native/json/json_writer.cpp \
../native/math/curves.cpp \
../native/math/lin/aabb.cpp \
../native/math/lin/matrix4x4.cpp \
../native/math/lin/plane.cpp \
../native/math/lin/quat.cpp \
../native/math/lin/vec3.cpp \
../native/math/math_util.cpp \
../native/math/lin/*.cpp \
../native/midi/midi_input.cpp \
../native/net/http_client.cpp \
../native/net/resolve.cpp \
../native/net/*.cpp \
../native/profiler/profiler.cpp \
../native/ui/screen.cpp \
../native/ui/ui.cpp \
../native/ui/virtual_input.cpp \
../native/util/bits/bits.cpp \
../native/util/bits/varint.cpp \
../native/util/bits/*.cpp \
../native/util/hash/hash.cpp \
../native/util/random/perlin.cpp \
../native/util/text/utf8.cpp
HEADERS += ../native/audio/mixer.h \
../native/audio/wav_read.h \
HEADERS += ../native/audio/*.h \
../native/base/basictypes.h \
../native/base/buffer.h \
../native/base/color.h \
@ -160,55 +110,30 @@ HEADERS += ../native/audio/mixer.h \
../native/base/stringutil.h \
../native/base/threadutil.h \
../native/base/timeutil.h \
../native/file/chunk_file.h \
../native/file/dialog.h \
../native/file/easy_file.h \
../native/file/fd_util.h \
../native/file/file_util.h \
../native/file/vfs.h \
../native/file/zip_read.h \
../native/file/*.h \
../native/gfx/gl_debug_log.h \
../native/gfx/gl_lost_manager.h \
../native/gfx/texture.h \
../native/gfx/texture_atlas.h \
../native/gfx/texture_gen.h \
../native/gfx_es2/fbo.h \
../native/gfx_es2/gl_state.h \
../native/gfx_es2/glsl_program.h \
../native/gfx_es2/vertex_format.h \
../native/gfx_es2/draw_buffer.h \
../native/image/png_load.h \
../native/image/zim_load.h \
../native/image/zim_save.h \
../native/gfx_es2/*.h \
../native/image/*.h \
../native/input/gesture_detector.h \
../native/input/input_state.h \
../native/json/json_writer.h \
../native/math/compression.h \
../native/math/curves.h \
../native/math/lin/aabb.h \
../native/math/lin/matrix4x4.h \
../native/math/lin/plane.h \
../native/math/lin/quat.h \
../native/math/lin/ray.h \
../native/math/lin/vec3.h \
../native/math/math_util.h \
../native/math/lin/*.h \
../native/midi/midi_input.h \
../native/net/http_client.h \
../native/net/resolve.h \
../native/ui/ui.h \
../native/net/*.h \
../native/profiler/profiler.h \
../native/ui/ui.h \
../native/ui/screen.h \
../native/ui/virtual_input.h \
../native/util/bits/bits.h \
../native/util/bits/hamming.h \
../native/util/bits/varint.h \
../native/util/bits/*.h \
../native/util/hash/hash.h \
../native/util/random/perlin.h \
../native/util/random/rng.h \
../native/util/random/*.h \
../native/util/text/utf8.h \
../native/ext/rapidxml/rapidxml.hpp \
../native/ext/rapidxml/rapidxml_iterators.hpp \
../native/ext/rapidxml/rapidxml_print.hpp \
../native/ext/rapidxml/rapidxml_utils.hpp
../native/ext/rapidxml/*.hpp
INCLUDEPATH += ../native