mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 05:01:02 -04:00
185 lines
3.9 KiB
CMake
185 lines
3.9 KiB
CMake
set(TARGET Core)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
include(DobieHelpers)
|
|
|
|
|
|
set(SOURCES
|
|
emulator.cpp
|
|
errors.cpp
|
|
gif.cpp
|
|
gs.cpp
|
|
gscontext.cpp
|
|
gsmem.cpp
|
|
gsregisters.cpp
|
|
gsthread.cpp
|
|
scheduler.cpp
|
|
serialize.cpp
|
|
sif.cpp
|
|
audio/utils.cpp
|
|
ee/bios_hle.cpp
|
|
ee/cop0.cpp
|
|
ee/cop1.cpp
|
|
ee/cop2.cpp
|
|
ee/dmac.cpp
|
|
ee/ee_jit.cpp
|
|
ee/ee_jit64.cpp
|
|
ee/ee_jit64_cop2.cpp
|
|
ee/ee_jit64_fpu.cpp
|
|
ee/ee_jit64_fpu_avx.cpp
|
|
ee/ee_jit64_gpr.cpp
|
|
ee/ee_jit64_mmi.cpp
|
|
ee/ee_jittrans.cpp
|
|
ee/emotion.cpp
|
|
ee/emotionasm.cpp
|
|
ee/emotiondisasm.cpp
|
|
ee/emotioninterpreter.cpp
|
|
ee/emotion_fpu.cpp
|
|
ee/emotion_mmi.cpp
|
|
ee/emotion_special.cpp
|
|
ee/emotion_vu0.cpp
|
|
ee/intc.cpp
|
|
ee/timers.cpp
|
|
ee/vif.cpp
|
|
ee/vu.cpp
|
|
ee/vu_disasm.cpp
|
|
ee/vu_interpreter.cpp
|
|
ee/vu_jit.cpp
|
|
ee/vu_jit64.cpp
|
|
ee/vu_jittrans.cpp
|
|
ee/ipu/chromtable.cpp
|
|
ee/ipu/codedblockpattern.cpp
|
|
ee/ipu/dct_coeff.cpp
|
|
ee/ipu/dct_coeff_table0.cpp
|
|
ee/ipu/dct_coeff_table1.cpp
|
|
ee/ipu/ipu.cpp
|
|
ee/ipu/ipu_fifo.cpp
|
|
ee/ipu/lumtable.cpp
|
|
ee/ipu/mac_addr_inc.cpp
|
|
ee/ipu/mac_b_pic.cpp
|
|
ee/ipu/mac_i_pic.cpp
|
|
ee/ipu/mac_p_pic.cpp
|
|
ee/ipu/motioncode.cpp
|
|
ee/ipu/vlc_table.cpp
|
|
ee/timers.cpp
|
|
ee/vif.cpp
|
|
ee/vu.cpp
|
|
ee/vu_disasm.cpp
|
|
ee/vu_interpreter.cpp
|
|
ee/vu_jit.cpp
|
|
ee/vu_jit64.cpp
|
|
ee/vu_jittrans.cpp
|
|
iop/cdvd/bincuereader.cpp
|
|
iop/cdvd/cdvd.cpp
|
|
iop/cdvd/cso_reader.cpp
|
|
iop/cdvd/iso_reader.cpp
|
|
iop/cdvd/chd_reader.cpp
|
|
iop/firewire.cpp
|
|
iop/gamepad.cpp
|
|
iop/iop.cpp
|
|
iop/iop_cop0.cpp
|
|
iop/iop_dma.cpp
|
|
iop/iop_intc.cpp
|
|
iop/iop_interpreter.cpp
|
|
iop/iop_timers.cpp
|
|
iop/memcard.cpp
|
|
iop/sio2.cpp
|
|
iop/spu/spu.cpp
|
|
iop/spu/spu_adpcm.cpp
|
|
iop/spu/spu_envelope.cpp
|
|
iop/spu/spu_tables.cpp
|
|
jitcommon/emitter64.cpp
|
|
jitcommon/ir_block.cpp
|
|
jitcommon/ir_instr.cpp
|
|
jitcommon/jitcache.cpp
|
|
tests/iop/alu.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
circularFIFO.hpp
|
|
emulator.hpp
|
|
errors.hpp
|
|
gif.hpp
|
|
gs.hpp
|
|
gscontext.hpp
|
|
gsmem.hpp
|
|
gsregisters.hpp
|
|
gsthread.hpp
|
|
int128.hpp
|
|
scheduler.hpp
|
|
sif.hpp
|
|
audio/utils.hpp
|
|
ee/bios_hle.hpp
|
|
ee/cop0.hpp
|
|
ee/cop1.hpp
|
|
ee/cop2.hpp
|
|
ee/dmac.hpp
|
|
ee/ee_jit.hpp
|
|
ee/ee_jit64.hpp
|
|
ee/ee_jittrans.hpp
|
|
ee/emotion.hpp
|
|
ee/emotionasm.hpp
|
|
ee/emotiondisasm.hpp
|
|
ee/emotioninterpreter.hpp
|
|
ee/intc.hpp
|
|
ee/timers.hpp
|
|
ee/vif.hpp
|
|
ee/vu.hpp
|
|
ee/vu_disasm.hpp
|
|
ee/vu_interpreter.hpp
|
|
ee/vu_jit.hpp
|
|
ee/vu_jit64.hpp
|
|
ee/vu_jittrans.hpp
|
|
ee/ipu/chromtable.hpp
|
|
ee/ipu/codedblockpattern.hpp
|
|
ee/ipu/dct_coeff.hpp
|
|
ee/ipu/dct_coeff_table0.hpp
|
|
ee/ipu/dct_coeff_table1.hpp
|
|
ee/ipu/ipu.hpp
|
|
ee/ipu/ipu_fifo.hpp
|
|
ee/ipu/lumtable.hpp
|
|
ee/ipu/mac_addr_inc.hpp
|
|
ee/ipu/mac_b_pic.hpp
|
|
ee/ipu/mac_i_pic.hpp
|
|
ee/ipu/mac_p_pic.hpp
|
|
ee/ipu/motioncode.hpp
|
|
ee/ipu/vlc_table.hpp
|
|
ee/timers.hpp
|
|
ee/vif.hpp
|
|
ee/vu.hpp
|
|
ee/vu_disasm.hpp
|
|
ee/vu_interpreter.hpp
|
|
ee/vu_jit.hpp
|
|
ee/vu_jit64.hpp
|
|
ee/vu_jittrans.hpp
|
|
iop/cdvd/bincuereader.hpp
|
|
iop/cdvd/cdvd.hpp
|
|
iop/cdvd/cso_reader.hpp
|
|
iop/cdvd/iso_reader.hpp
|
|
iop/cdvd/chd_reader.hpp
|
|
iop/firewire.hpp
|
|
iop/gamepad.hpp
|
|
iop/iop.hpp
|
|
iop/iop_cop0.hpp
|
|
iop/iop_dma.hpp
|
|
iop/iop_intc.hpp
|
|
iop/iop_interpreter.hpp
|
|
iop/iop_timers.hpp
|
|
iop/memcard.hpp
|
|
iop/sio2.hpp
|
|
iop/spu/spu.hpp
|
|
iop/spu/spu_adpcm.hpp
|
|
iop/spu/spu_envelope.hpp
|
|
iop/spu/spu_utils.hpp
|
|
jitcommon/emitter64.hpp
|
|
jitcommon/ir_block.hpp
|
|
jitcommon/ir_instr.hpp
|
|
jitcommon/jitcache.hpp)
|
|
|
|
add_library(${TARGET} ${SOURCES} ${HEADERS})
|
|
add_library(Dobie::Core ALIAS ${TARGET})
|
|
|
|
target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
|
target_link_libraries(${TARGET} Threads::Threads libchdr zlib)
|
|
dobie_cxx_compile_options(${TARGET})
|