2014-08-24 05:22:05 +04:00
|
|
|
set(SRCS
|
2016-09-02 06:07:14 +03:00
|
|
|
arm/dynarmic/arm_dynarmic.cpp
|
2017-10-10 06:56:20 +03:00
|
|
|
arm/unicorn/arm_unicorn.cpp
|
2015-05-08 08:51:43 +03:00
|
|
|
core.cpp
|
|
|
|
core_timing.cpp
|
2015-05-06 08:29:11 +03:00
|
|
|
file_sys/archive_backend.cpp
|
2014-12-16 08:33:41 +03:00
|
|
|
file_sys/disk_archive.cpp
|
2015-01-01 20:39:27 +03:00
|
|
|
file_sys/ivfc_archive.cpp
|
2016-10-16 17:19:13 +03:00
|
|
|
file_sys/path_parser.cpp
|
2016-10-17 09:54:48 +03:00
|
|
|
file_sys/savedata_archive.cpp
|
2017-10-01 19:32:43 +03:00
|
|
|
file_sys/title_metadata.cpp
|
2016-12-23 16:37:40 +03:00
|
|
|
frontend/emu_window.cpp
|
2018-01-10 06:36:56 +03:00
|
|
|
frontend/framebuffer_layout.cpp
|
2015-09-02 15:56:38 +03:00
|
|
|
gdbstub/gdbstub.cpp
|
2015-05-08 08:51:43 +03:00
|
|
|
hle/config_mem.cpp
|
2014-07-07 07:15:40 +04:00
|
|
|
hle/kernel/address_arbiter.cpp
|
2016-05-22 19:22:49 +03:00
|
|
|
hle/kernel/client_port.cpp
|
2016-06-15 02:03:30 +03:00
|
|
|
hle/kernel/client_session.cpp
|
2018-01-09 05:41:37 +03:00
|
|
|
hle/kernel/condition_variable.cpp
|
2017-12-29 07:30:21 +03:00
|
|
|
hle/kernel/domain.cpp
|
2014-05-28 06:14:38 +04:00
|
|
|
hle/kernel/event.cpp
|
2017-05-30 02:45:42 +03:00
|
|
|
hle/kernel/handle_table.cpp
|
2017-06-05 07:52:19 +03:00
|
|
|
hle/kernel/hle_ipc.cpp
|
2014-05-10 06:11:18 +04:00
|
|
|
hle/kernel/kernel.cpp
|
2015-07-29 18:08:00 +03:00
|
|
|
hle/kernel/memory.cpp
|
2014-05-21 07:03:45 +04:00
|
|
|
hle/kernel/mutex.cpp
|
2018-01-01 23:41:05 +03:00
|
|
|
hle/kernel/object_address_table.cpp
|
2015-05-04 06:01:16 +03:00
|
|
|
hle/kernel/process.cpp
|
2015-05-12 23:25:15 +03:00
|
|
|
hle/kernel/resource_limit.cpp
|
2016-05-22 19:22:49 +03:00
|
|
|
hle/kernel/server_port.cpp
|
2016-06-15 02:03:30 +03:00
|
|
|
hle/kernel/server_session.cpp
|
2014-07-05 08:55:39 +04:00
|
|
|
hle/kernel/shared_memory.cpp
|
2018-01-03 04:40:30 +03:00
|
|
|
hle/kernel/svc.cpp
|
2014-05-10 06:11:18 +04:00
|
|
|
hle/kernel/thread.cpp
|
2015-05-08 08:51:43 +03:00
|
|
|
hle/kernel/timer.cpp
|
2015-05-21 06:37:07 +03:00
|
|
|
hle/kernel/vm_manager.cpp
|
2017-05-30 01:45:30 +03:00
|
|
|
hle/kernel/wait_object.cpp
|
2017-07-21 07:52:50 +03:00
|
|
|
hle/lock.cpp
|
2017-06-15 19:09:05 +03:00
|
|
|
hle/romfs.cpp
|
2017-10-15 05:50:04 +03:00
|
|
|
hle/service/am/am.cpp
|
|
|
|
hle/service/am/applet_oe.cpp
|
2017-12-28 23:24:05 +03:00
|
|
|
hle/service/aoc/aoc_u.cpp
|
2017-10-15 05:50:04 +03:00
|
|
|
hle/service/apm/apm.cpp
|
2014-10-30 04:38:33 +03:00
|
|
|
hle/service/dsp_dsp.cpp
|
2014-10-29 06:08:37 +03:00
|
|
|
hle/service/gsp_gpu.cpp
|
2015-01-19 02:07:48 +03:00
|
|
|
hle/service/hid/hid.cpp
|
2017-10-15 05:18:42 +03:00
|
|
|
hle/service/lm/lm.cpp
|
2018-01-09 18:41:13 +03:00
|
|
|
hle/service/nvdrv/devices/nvdisp_disp0.cpp
|
|
|
|
hle/service/nvdrv/devices/nvhost_as_gpu.cpp
|
|
|
|
hle/service/nvdrv/devices/nvmap.cpp
|
2018-01-08 05:27:58 +03:00
|
|
|
hle/service/nvdrv/nvdrv.cpp
|
|
|
|
hle/service/nvdrv/nvdrv_a.cpp
|
2017-12-29 07:44:39 +03:00
|
|
|
hle/service/pctl/pctl.cpp
|
|
|
|
hle/service/pctl/pctl_a.cpp
|
2014-04-23 02:35:40 +04:00
|
|
|
hle/service/service.cpp
|
2017-10-15 05:18:42 +03:00
|
|
|
hle/service/sm/controller.cpp
|
2017-06-06 09:31:59 +03:00
|
|
|
hle/service/sm/sm.cpp
|
2018-01-08 05:27:58 +03:00
|
|
|
hle/service/vi/vi.cpp
|
|
|
|
hle/service/vi/vi_m.cpp
|
2015-01-02 08:41:34 +03:00
|
|
|
hle/shared_page.cpp
|
2017-01-01 15:58:02 +03:00
|
|
|
hw/aes/arithmetic128.cpp
|
|
|
|
hw/aes/ccm.cpp
|
|
|
|
hw/aes/key.cpp
|
2014-05-18 00:50:33 +04:00
|
|
|
hw/gpu.cpp
|
2014-04-10 07:09:05 +04:00
|
|
|
hw/hw.cpp
|
2014-10-13 09:40:26 +04:00
|
|
|
hw/lcd.cpp
|
2014-08-24 05:22:05 +04:00
|
|
|
loader/elf.cpp
|
2017-10-06 06:30:08 +03:00
|
|
|
loader/linker.cpp
|
2014-08-24 05:22:05 +04:00
|
|
|
loader/loader.cpp
|
2017-10-06 06:30:08 +03:00
|
|
|
loader/nro.cpp
|
2017-09-24 18:08:31 +03:00
|
|
|
loader/nso.cpp
|
2015-04-04 13:57:31 +03:00
|
|
|
tracer/recorder.cpp
|
2015-05-13 04:38:29 +03:00
|
|
|
memory.cpp
|
2017-02-20 01:34:47 +03:00
|
|
|
perf_stats.cpp
|
2014-09-13 04:06:13 +04:00
|
|
|
settings.cpp
|
2017-05-02 07:09:15 +03:00
|
|
|
telemetry_session.cpp
|
2014-08-24 05:22:05 +04:00
|
|
|
)
|
2013-08-30 07:35:09 +04:00
|
|
|
|
2014-08-24 05:22:05 +04:00
|
|
|
set(HEADERS
|
2015-05-08 08:51:43 +03:00
|
|
|
arm/arm_interface.h
|
2016-09-02 06:07:14 +03:00
|
|
|
arm/dynarmic/arm_dynarmic.h
|
2017-10-10 06:56:20 +03:00
|
|
|
arm/unicorn/arm_unicorn.h
|
2015-05-08 08:51:43 +03:00
|
|
|
core.h
|
|
|
|
core_timing.h
|
2014-12-15 07:51:38 +03:00
|
|
|
file_sys/archive_backend.h
|
2015-05-08 08:51:43 +03:00
|
|
|
file_sys/directory_backend.h
|
2014-12-16 08:33:41 +03:00
|
|
|
file_sys/disk_archive.h
|
2017-02-15 16:49:07 +03:00
|
|
|
file_sys/errors.h
|
2014-12-15 10:03:17 +03:00
|
|
|
file_sys/file_backend.h
|
2015-01-01 20:39:27 +03:00
|
|
|
file_sys/ivfc_archive.h
|
2016-10-16 17:19:13 +03:00
|
|
|
file_sys/path_parser.h
|
2016-10-17 09:54:48 +03:00
|
|
|
file_sys/savedata_archive.h
|
2016-12-23 16:37:40 +03:00
|
|
|
frontend/emu_window.h
|
2017-05-28 02:10:25 +03:00
|
|
|
frontend/framebuffer_layout.h
|
2017-01-20 22:52:32 +03:00
|
|
|
frontend/input.h
|
2015-09-02 15:56:38 +03:00
|
|
|
gdbstub/gdbstub.h
|
2015-05-08 08:51:43 +03:00
|
|
|
hle/config_mem.h
|
2016-12-08 19:06:19 +03:00
|
|
|
hle/ipc.h
|
2016-12-26 15:39:45 +03:00
|
|
|
hle/ipc_helpers.h
|
2014-07-07 07:15:40 +04:00
|
|
|
hle/kernel/address_arbiter.h
|
2016-05-22 19:22:49 +03:00
|
|
|
hle/kernel/client_port.h
|
2016-06-15 02:03:30 +03:00
|
|
|
hle/kernel/client_session.h
|
2018-01-09 05:41:37 +03:00
|
|
|
hle/kernel/condition_variable.h
|
2017-12-29 07:30:21 +03:00
|
|
|
hle/kernel/domain.h
|
2017-05-21 10:11:36 +03:00
|
|
|
hle/kernel/errors.h
|
2014-08-24 05:22:05 +04:00
|
|
|
hle/kernel/event.h
|
2017-05-30 02:45:42 +03:00
|
|
|
hle/kernel/handle_table.h
|
2017-06-05 07:52:19 +03:00
|
|
|
hle/kernel/hle_ipc.h
|
2014-05-23 07:39:25 +04:00
|
|
|
hle/kernel/kernel.h
|
2015-07-29 18:08:00 +03:00
|
|
|
hle/kernel/memory.h
|
2014-05-23 07:39:25 +04:00
|
|
|
hle/kernel/mutex.h
|
2018-01-01 23:41:05 +03:00
|
|
|
hle/kernel/object_address_table.h
|
2015-05-04 06:01:16 +03:00
|
|
|
hle/kernel/process.h
|
2015-05-12 23:25:15 +03:00
|
|
|
hle/kernel/resource_limit.h
|
2016-05-22 19:22:49 +03:00
|
|
|
hle/kernel/server_port.h
|
2016-06-15 02:03:30 +03:00
|
|
|
hle/kernel/server_session.h
|
2017-01-05 07:23:17 +03:00
|
|
|
hle/kernel/session.h
|
2014-07-05 08:55:39 +04:00
|
|
|
hle/kernel/shared_memory.h
|
2017-12-29 07:12:28 +03:00
|
|
|
hle/kernel/sync_object.h
|
2018-01-03 04:40:30 +03:00
|
|
|
hle/kernel/svc.h
|
|
|
|
hle/kernel/svc_wrap.h
|
2014-05-23 07:39:25 +04:00
|
|
|
hle/kernel/thread.h
|
2015-05-08 08:51:43 +03:00
|
|
|
hle/kernel/timer.h
|
2015-05-21 06:37:07 +03:00
|
|
|
hle/kernel/vm_manager.h
|
2017-05-30 01:45:30 +03:00
|
|
|
hle/kernel/wait_object.h
|
2017-07-21 07:52:50 +03:00
|
|
|
hle/lock.h
|
2015-05-08 08:51:43 +03:00
|
|
|
hle/result.h
|
2017-06-15 19:09:05 +03:00
|
|
|
hle/romfs.h
|
2017-10-15 05:50:04 +03:00
|
|
|
hle/service/am/am.h
|
|
|
|
hle/service/am/applet_oe.h
|
2017-12-28 23:24:05 +03:00
|
|
|
hle/service/aoc/aoc_u.h
|
2017-10-15 05:50:04 +03:00
|
|
|
hle/service/apm/apm.h
|
2014-10-30 04:38:33 +03:00
|
|
|
hle/service/dsp_dsp.h
|
2014-10-29 06:08:37 +03:00
|
|
|
hle/service/gsp_gpu.h
|
2015-01-19 02:07:48 +03:00
|
|
|
hle/service/hid/hid.h
|
2017-10-15 05:18:42 +03:00
|
|
|
hle/service/lm/lm.h
|
2018-01-09 18:41:13 +03:00
|
|
|
hle/service/nvdrv/devices/nvdevice.h
|
|
|
|
hle/service/nvdrv/devices/nvdisp_disp0.h
|
|
|
|
hle/service/nvdrv/devices/nvhost_as_gpu.h
|
|
|
|
hle/service/nvdrv/devices/nvmap.h
|
2018-01-08 05:27:58 +03:00
|
|
|
hle/service/nvdrv/nvdrv.h
|
|
|
|
hle/service/nvdrv/nvdrv_a.h
|
2017-12-29 07:44:39 +03:00
|
|
|
hle/service/pctl/pctl.h
|
|
|
|
hle/service/pctl/pctl_a.h
|
2014-05-01 03:56:25 +04:00
|
|
|
hle/service/service.h
|
2017-10-15 05:18:42 +03:00
|
|
|
hle/service/sm/controller.h
|
2017-06-06 09:31:59 +03:00
|
|
|
hle/service/sm/sm.h
|
2018-01-08 05:27:58 +03:00
|
|
|
hle/service/vi/vi.h
|
|
|
|
hle/service/vi/vi_m.h
|
2015-01-02 08:41:34 +03:00
|
|
|
hle/shared_page.h
|
2017-01-01 15:58:02 +03:00
|
|
|
hw/aes/arithmetic128.h
|
|
|
|
hw/aes/ccm.h
|
|
|
|
hw/aes/key.h
|
2014-05-18 00:50:33 +04:00
|
|
|
hw/gpu.h
|
2014-05-01 03:56:25 +04:00
|
|
|
hw/hw.h
|
2014-10-13 09:40:26 +04:00
|
|
|
hw/lcd.h
|
2014-08-24 05:22:05 +04:00
|
|
|
loader/elf.h
|
2017-10-06 06:30:08 +03:00
|
|
|
loader/linker.h
|
2014-08-24 05:22:05 +04:00
|
|
|
loader/loader.h
|
2017-10-06 06:30:08 +03:00
|
|
|
loader/nro.h
|
2017-09-24 18:08:31 +03:00
|
|
|
loader/nso.h
|
2015-04-04 13:57:31 +03:00
|
|
|
tracer/recorder.h
|
2015-05-21 03:51:28 +03:00
|
|
|
tracer/citrace.h
|
2015-05-13 04:38:29 +03:00
|
|
|
memory.h
|
2015-05-13 05:38:56 +03:00
|
|
|
memory_setup.h
|
2016-01-30 21:41:04 +03:00
|
|
|
mmio.h
|
2017-02-20 01:34:47 +03:00
|
|
|
perf_stats.h
|
2014-09-13 04:06:13 +04:00
|
|
|
settings.h
|
2017-05-02 07:09:15 +03:00
|
|
|
telemetry_session.h
|
2014-08-24 05:22:05 +04:00
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2014-05-20 02:19:36 +04:00
|
|
|
add_library(core STATIC ${SRCS} ${HEADERS})
|
2018-01-10 00:33:46 +03:00
|
|
|
target_link_libraries(core PUBLIC common PRIVATE audio_core dynarmic network video_core)
|
2018-01-13 03:36:41 +03:00
|
|
|
target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt lz4_static unicorn)
|
2017-07-10 00:52:18 +03:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
|
|
target_link_libraries(core PUBLIC json-headers web_service)
|
|
|
|
endif()
|