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