suyu/src/core/CMakeLists.txt

165 lines
5.3 KiB
CMake
Raw Normal View History

set(SRCS
2016-09-01 23:07:14 -04:00
arm/dynarmic/arm_dynarmic.cpp
arm/unicorn/arm_unicorn.cpp
2015-05-08 01:51:43 -04:00
core.cpp
core_timing.cpp
2015-05-06 01:29:11 -04:00
file_sys/archive_backend.cpp
file_sys/disk_archive.cpp
file_sys/ivfc_archive.cpp
2016-10-16 10:19:13 -04:00
file_sys/path_parser.cpp
file_sys/savedata_archive.cpp
file_sys/title_metadata.cpp
frontend/emu_window.cpp
frontend/framebuffer_layout.cpp
2015-09-02 08:56:38 -04:00
gdbstub/gdbstub.cpp
2015-05-08 01:51:43 -04:00
hle/config_mem.cpp
hle/kernel/address_arbiter.cpp
hle/kernel/client_port.cpp
hle/kernel/client_session.cpp
hle/kernel/domain.cpp
hle/kernel/event.cpp
hle/kernel/handle_table.cpp
hle/kernel/hle_ipc.cpp
2014-05-09 22:11:18 -04:00
hle/kernel/kernel.cpp
hle/kernel/memory.cpp
2014-05-20 23:03:45 -04:00
hle/kernel/mutex.cpp
hle/kernel/object_address_table.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/svc.cpp
2014-05-09 22:11:18 -04:00
hle/kernel/thread.cpp
2015-05-08 01:51:43 -04:00
hle/kernel/timer.cpp
hle/kernel/vm_manager.cpp
hle/kernel/wait_object.cpp
hle/lock.cpp
hle/romfs.cpp
hle/service/am/am.cpp
hle/service/am/applet_oe.cpp
hle/service/aoc/aoc_u.cpp
hle/service/apm/apm.cpp
2014-10-29 21:38:33 -04:00
hle/service/dsp_dsp.cpp
hle/service/gsp_gpu.cpp
hle/service/hid/hid.cpp
hle/service/lm/lm.cpp
hle/service/pctl/pctl.cpp
hle/service/pctl/pctl_a.cpp
2014-04-22 18:35:40 -04:00
hle/service/service.cpp
hle/service/sm/controller.cpp
hle/service/sm/sm.cpp
hle/shared_page.cpp
2017-01-01 07:58:02 -05:00
hw/aes/arithmetic128.cpp
hw/aes/ccm.cpp
hw/aes/key.cpp
2014-05-17 16:50:33 -04:00
hw/gpu.cpp
2014-04-09 23:09:05 -04:00
hw/hw.cpp
hw/lcd.cpp
loader/elf.cpp
loader/linker.cpp
loader/loader.cpp
loader/nro.cpp
loader/nso.cpp
tracer/recorder.cpp
memory.cpp
perf_stats.cpp
settings.cpp
telemetry_session.cpp
)
2013-08-29 23:35:09 -04:00
set(HEADERS
3ds.h
2015-05-08 01:51:43 -04:00
arm/arm_interface.h
2016-09-01 23:07:14 -04:00
arm/dynarmic/arm_dynarmic.h
arm/unicorn/arm_unicorn.h
2015-05-08 01:51:43 -04:00
core.h
core_timing.h
file_sys/archive_backend.h
2015-05-08 01:51:43 -04:00
file_sys/directory_backend.h
file_sys/disk_archive.h
file_sys/errors.h
file_sys/file_backend.h
file_sys/ivfc_archive.h
2016-10-16 10:19:13 -04:00
file_sys/path_parser.h
file_sys/savedata_archive.h
frontend/emu_window.h
frontend/framebuffer_layout.h
2017-01-20 14:52:32 -05:00
frontend/input.h
2015-09-02 08:56:38 -04:00
gdbstub/gdbstub.h
2015-05-08 01:51:43 -04:00
hle/config_mem.h
2016-12-08 11:06:19 -05:00
hle/ipc.h
2016-12-26 07:39:45 -05:00
hle/ipc_helpers.h
hle/kernel/address_arbiter.h
hle/kernel/client_port.h
hle/kernel/client_session.h
hle/kernel/domain.h
hle/kernel/errors.h
hle/kernel/event.h
hle/kernel/handle_table.h
hle/kernel/hle_ipc.h
2014-05-22 23:39:25 -04:00
hle/kernel/kernel.h
hle/kernel/memory.h
2014-05-22 23:39:25 -04:00
hle/kernel/mutex.h
hle/kernel/object_address_table.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/sync_object.h
hle/kernel/svc.h
hle/kernel/svc_wrap.h
2014-05-22 23:39:25 -04:00
hle/kernel/thread.h
2015-05-08 01:51:43 -04:00
hle/kernel/timer.h
hle/kernel/vm_manager.h
hle/kernel/wait_object.h
hle/lock.h
2015-05-08 01:51:43 -04:00
hle/result.h
hle/romfs.h
hle/service/am/am.h
hle/service/am/applet_oe.h
hle/service/aoc/aoc_u.h
hle/service/apm/apm.h
2014-10-29 21:38:33 -04:00
hle/service/dsp_dsp.h
hle/service/gsp_gpu.h
hle/service/hid/hid.h
hle/service/lm/lm.h
hle/service/pctl/pctl.h
hle/service/pctl/pctl_a.h
2014-04-30 19:56:25 -04:00
hle/service/service.h
hle/service/sm/controller.h
hle/service/sm/sm.h
hle/shared_page.h
2017-01-01 07:58:02 -05:00
hw/aes/arithmetic128.h
hw/aes/ccm.h
hw/aes/key.h
2014-05-17 16:50:33 -04:00
hw/gpu.h
2014-04-30 19:56:25 -04:00
hw/hw.h
hw/lcd.h
loader/elf.h
loader/linker.h
loader/loader.h
loader/nro.h
loader/nso.h
tracer/recorder.h
tracer/citrace.h
memory.h
memory_setup.h
2016-01-30 13:41:04 -05:00
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 unicorn)
2017-07-09 17:52:18 -04:00
if (ENABLE_WEB_SERVICE)
target_link_libraries(core PUBLIC json-headers web_service)
endif()