2012-11-01 15:19:01 +00:00
|
|
|
set(SRCS
|
|
|
|
Debugger/Breakpoints.cpp
|
|
|
|
Debugger/SymbolMap.cpp
|
|
|
|
MIPS/MIPS.cpp
|
|
|
|
MIPS/MIPSAnalyst.cpp
|
|
|
|
MIPS/MIPSCodeUtils.cpp
|
|
|
|
MIPS/MIPSDebugInterface.cpp
|
|
|
|
MIPS/MIPSDis.cpp
|
|
|
|
MIPS/MIPSDisVFPU.cpp
|
|
|
|
MIPS/MIPSInt.cpp
|
|
|
|
MIPS/MIPSIntVFPU.cpp
|
|
|
|
MIPS/MIPSTables.cpp
|
|
|
|
MIPS/MIPSVFPUUtils.cpp
|
|
|
|
MIPS/JitCommon/JitCommon.cpp
|
|
|
|
ELF/ElfReader.cpp
|
2012-11-05 13:54:28 +00:00
|
|
|
ELF/PrxDecrypter.cpp
|
2012-11-01 15:19:01 +00:00
|
|
|
HLE/HLE.cpp
|
|
|
|
HLE/HLETables.cpp
|
|
|
|
HLE/sceAtrac.cpp
|
|
|
|
HLE/__sceAudio.cpp
|
|
|
|
HLE/sceAudio.cpp
|
|
|
|
HLE/sceCtrl.cpp
|
|
|
|
HLE/sceDisplay.cpp
|
|
|
|
HLE/sceDmac.cpp
|
|
|
|
HLE/sceGe.cpp
|
|
|
|
HLE/sceHprm.cpp
|
|
|
|
HLE/sceHttp.cpp
|
2012-11-09 11:31:58 +00:00
|
|
|
HLE/sceImpose.cpp
|
2012-11-01 15:19:01 +00:00
|
|
|
HLE/sceIo.cpp
|
|
|
|
HLE/sceKernel.cpp
|
|
|
|
HLE/sceKernelAlarm.cpp
|
|
|
|
HLE/sceKernelEventFlag.cpp
|
|
|
|
HLE/sceKernelInterrupt.cpp
|
|
|
|
HLE/sceKernelMemory.cpp
|
|
|
|
HLE/sceKernelModule.cpp
|
|
|
|
HLE/sceKernelMutex.cpp
|
|
|
|
HLE/sceKernelMbx.cpp
|
|
|
|
HLE/sceKernelMsgPipe.cpp
|
|
|
|
HLE/sceKernelSemaphore.cpp
|
|
|
|
HLE/sceKernelThread.cpp
|
|
|
|
HLE/sceKernelTime.cpp
|
|
|
|
HLE/sceKernelVTimer.cpp
|
|
|
|
HLE/sceMpeg.cpp
|
|
|
|
HLE/sceNet.cpp
|
|
|
|
HLE/scePower.cpp
|
|
|
|
HLE/scePsmf.cpp
|
|
|
|
HLE/sceRtc.cpp
|
|
|
|
HLE/sceSas.cpp
|
|
|
|
HLE/sceUmd.cpp
|
|
|
|
HLE/sceUtility.cpp
|
2012-11-06 14:45:13 +00:00
|
|
|
HW/MemoryStick.cpp
|
2012-11-01 15:19:01 +00:00
|
|
|
FileSystems/BlockDevices.cpp
|
|
|
|
FileSystems/ISOFileSystem.cpp
|
|
|
|
FileSystems/DirectoryFileSystem.cpp
|
|
|
|
FileSystems/MetaFileSystem.cpp
|
|
|
|
Util/BlockAllocator.cpp
|
|
|
|
CPU.cpp
|
|
|
|
CoreTiming.cpp
|
|
|
|
Config.cpp
|
|
|
|
Loaders.cpp
|
|
|
|
Host.cpp
|
|
|
|
MemMap.cpp
|
|
|
|
MemMapFunctions.cpp
|
|
|
|
PSPLoaders.cpp
|
|
|
|
PSPMixer.cpp
|
|
|
|
System.cpp
|
|
|
|
Core.cpp
|
|
|
|
)
|
|
|
|
|
2012-11-05 13:09:49 +00:00
|
|
|
if(ARM)
|
|
|
|
set(SRCS ${SRCS} MIPS/ARM/Asm.cpp
|
|
|
|
MIPS/ARM/CompALU.cpp
|
|
|
|
MIPS/ARM/CompBranch.cpp
|
|
|
|
MIPS/ARM/CompLoadStore.cpp
|
|
|
|
MIPS/ARM/CompFPU.cpp
|
|
|
|
MIPS/ARM/Jit.cpp
|
|
|
|
MIPS/ARM/JitCache.cpp
|
|
|
|
MIPS/ARM/RegCache.cpp
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set(SRCS ${SRCS} MIPS/x86/Asm.cpp
|
|
|
|
MIPS/x86/CompALU.cpp
|
|
|
|
MIPS/x86/CompBranch.cpp
|
|
|
|
MIPS/x86/CompLoadStore.cpp
|
|
|
|
MIPS/x86/CompFPU.cpp
|
|
|
|
MIPS/x86/Jit.cpp
|
|
|
|
MIPS/x86/JitCache.cpp
|
|
|
|
MIPS/x86/RegCache.cpp
|
|
|
|
)
|
|
|
|
endif(ARM)
|
|
|
|
|
2012-11-01 15:19:01 +00:00
|
|
|
set(SRCS ${SRCS})
|
|
|
|
|
|
|
|
add_library(core STATIC ${SRCS})
|
2012-11-03 02:33:24 +00:00
|
|
|
target_link_libraries(core general common)
|
|
|
|
target_link_libraries(core general base)
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
if(UNIX)
|
|
|
|
add_definitions(-fPIC)
|
2012-11-03 02:33:24 +00:00
|
|
|
add_definitions(-std=gnu++0x)
|
2012-11-01 15:19:01 +00:00
|
|
|
endif(UNIX)
|