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