176 lines
5.8 KiB
CMake
176 lines
5.8 KiB
CMake
set(SRCS
|
|
arm/dynarmic/arm_dynarmic.cpp
|
|
arm/dynarmic/arm_dynarmic_cp15.cpp
|
|
arm/dyncom/arm_dyncom.cpp
|
|
arm/dyncom/arm_dyncom_dec.cpp
|
|
arm/dyncom/arm_dyncom_interpreter.cpp
|
|
arm/dyncom/arm_dyncom_thumb.cpp
|
|
arm/dyncom/arm_dyncom_trans.cpp
|
|
arm/unicorn/arm_unicorn.cpp
|
|
arm/unicorn/unicorn_dynload.c
|
|
arm/skyeye_common/armstate.cpp
|
|
arm/skyeye_common/armsupp.cpp
|
|
arm/skyeye_common/vfp/vfp.cpp
|
|
arm/skyeye_common/vfp/vfpdouble.cpp
|
|
arm/skyeye_common/vfp/vfpinstr.cpp
|
|
arm/skyeye_common/vfp/vfpsingle.cpp
|
|
core.cpp
|
|
core_timing.cpp
|
|
file_sys/archive_backend.cpp
|
|
file_sys/disk_archive.cpp
|
|
file_sys/ivfc_archive.cpp
|
|
file_sys/ncch_container.cpp
|
|
file_sys/path_parser.cpp
|
|
file_sys/savedata_archive.cpp
|
|
file_sys/title_metadata.cpp
|
|
frontend/emu_window.cpp
|
|
frontend/framebuffer_layout.cpp
|
|
gdbstub/gdbstub.cpp
|
|
hle/config_mem.cpp
|
|
hle/kernel/address_arbiter.cpp
|
|
hle/kernel/client_port.cpp
|
|
hle/kernel/client_session.cpp
|
|
hle/kernel/event.cpp
|
|
hle/kernel/handle_table.cpp
|
|
hle/kernel/hle_ipc.cpp
|
|
hle/kernel/kernel.cpp
|
|
hle/kernel/memory.cpp
|
|
hle/kernel/mutex.cpp
|
|
hle/kernel/process.cpp
|
|
hle/kernel/resource_limit.cpp
|
|
hle/kernel/semaphore.cpp
|
|
hle/kernel/server_port.cpp
|
|
hle/kernel/server_session.cpp
|
|
hle/kernel/shared_memory.cpp
|
|
hle/kernel/thread.cpp
|
|
hle/kernel/timer.cpp
|
|
hle/kernel/vm_manager.cpp
|
|
hle/kernel/wait_object.cpp
|
|
hle/lock.cpp
|
|
hle/romfs.cpp
|
|
hle/service/dsp_dsp.cpp
|
|
hle/service/gsp_gpu.cpp
|
|
hle/service/hid/hid.cpp
|
|
hle/service/service.cpp
|
|
hle/service/sm/sm.cpp
|
|
hle/service/sm/srv.cpp
|
|
hle/shared_page.cpp
|
|
hle/svc.cpp
|
|
hw/aes/arithmetic128.cpp
|
|
hw/aes/ccm.cpp
|
|
hw/aes/key.cpp
|
|
hw/gpu.cpp
|
|
hw/hw.cpp
|
|
hw/lcd.cpp
|
|
loader/elf.cpp
|
|
loader/linker.cpp
|
|
loader/loader.cpp
|
|
loader/nro.cpp
|
|
loader/nso.cpp
|
|
loader/smdh.cpp
|
|
tracer/recorder.cpp
|
|
memory.cpp
|
|
perf_stats.cpp
|
|
settings.cpp
|
|
telemetry_session.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
3ds.h
|
|
arm/arm_interface.h
|
|
arm/dynarmic/arm_dynarmic.h
|
|
arm/dynarmic/arm_dynarmic_cp15.h
|
|
arm/dyncom/arm_dyncom.h
|
|
arm/dyncom/arm_dyncom_dec.h
|
|
arm/dyncom/arm_dyncom_interpreter.h
|
|
arm/dyncom/arm_dyncom_run.h
|
|
arm/dyncom/arm_dyncom_thumb.h
|
|
arm/dyncom/arm_dyncom_trans.h
|
|
arm/unicorn/arm_unicorn.h
|
|
arm/unicorn/unicorn_dynload.h
|
|
arm/skyeye_common/arm_regformat.h
|
|
arm/skyeye_common/armstate.h
|
|
arm/skyeye_common/armsupp.h
|
|
arm/skyeye_common/vfp/asm_vfp.h
|
|
arm/skyeye_common/vfp/vfp.h
|
|
arm/skyeye_common/vfp/vfp_helper.h
|
|
core.h
|
|
core_timing.h
|
|
file_sys/archive_backend.h
|
|
file_sys/directory_backend.h
|
|
file_sys/disk_archive.h
|
|
file_sys/errors.h
|
|
file_sys/file_backend.h
|
|
file_sys/ivfc_archive.h
|
|
file_sys/path_parser.h
|
|
file_sys/savedata_archive.h
|
|
frontend/emu_window.h
|
|
frontend/framebuffer_layout.h
|
|
frontend/input.h
|
|
gdbstub/gdbstub.h
|
|
hle/config_mem.h
|
|
hle/function_wrappers.h
|
|
hle/ipc.h
|
|
hle/ipc_helpers.h
|
|
hle/kernel/address_arbiter.h
|
|
hle/kernel/client_port.h
|
|
hle/kernel/client_session.h
|
|
hle/kernel/errors.h
|
|
hle/kernel/event.h
|
|
hle/kernel/handle_table.h
|
|
hle/kernel/hle_ipc.h
|
|
hle/kernel/kernel.h
|
|
hle/kernel/memory.h
|
|
hle/kernel/mutex.h
|
|
hle/kernel/process.h
|
|
hle/kernel/resource_limit.h
|
|
hle/kernel/semaphore.h
|
|
hle/kernel/server_port.h
|
|
hle/kernel/server_session.h
|
|
hle/kernel/session.h
|
|
hle/kernel/shared_memory.h
|
|
hle/kernel/thread.h
|
|
hle/kernel/timer.h
|
|
hle/kernel/vm_manager.h
|
|
hle/kernel/wait_object.h
|
|
hle/lock.h
|
|
hle/result.h
|
|
hle/romfs.h
|
|
hle/service/dsp_dsp.h
|
|
hle/service/gsp_gpu.h
|
|
hle/service/hid/hid.h
|
|
hle/service/service.h
|
|
hle/service/sm/sm.h
|
|
hle/service/sm/srv.h
|
|
hle/shared_page.h
|
|
hle/svc.h
|
|
hw/aes/arithmetic128.h
|
|
hw/aes/ccm.h
|
|
hw/aes/key.h
|
|
hw/gpu.h
|
|
hw/hw.h
|
|
hw/lcd.h
|
|
loader/elf.h
|
|
loader/linker.h
|
|
loader/loader.h
|
|
loader/nro.h
|
|
loader/nso.h
|
|
loader/smdh.h
|
|
tracer/recorder.h
|
|
tracer/citrace.h
|
|
memory.h
|
|
memory_setup.h
|
|
mmio.h
|
|
perf_stats.h
|
|
settings.h
|
|
telemetry_session.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
add_library(core STATIC ${SRCS} ${HEADERS})
|
|
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core)
|
|
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt lz4_static)
|
|
if (ENABLE_WEB_SERVICE)
|
|
target_link_libraries(core PUBLIC json-headers web_service)
|
|
endif()
|