2014-08-23 22:22:05 -03: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 02:51:43 -03:00
|
|
|
core.cpp
|
|
|
|
core_timing.cpp
|
2015-05-06 02:29:11 -03: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 22:19:13 +08:00
|
|
|
file_sys/path_parser.cpp
|
2016-10-17 14:54:48 +08:00
|
|
|
file_sys/savedata_archive.cpp
|
2017-10-01 10:32:43 -06:00
|
|
|
file_sys/title_metadata.cpp
|
2016-12-23 13:37:40 +00:00
|
|
|
frontend/emu_window.cpp
|
2017-05-27 16:10:25 -07:00
|
|
|
frontend/framebuffer_layout.cpp
|
2015-09-02 08:56:38 -04:00
|
|
|
gdbstub/gdbstub.cpp
|
2015-05-08 02:51:43 -03:00
|
|
|
hle/config_mem.cpp
|
2014-07-06 23:15:40 -04:00
|
|
|
hle/kernel/address_arbiter.cpp
|
2016-05-22 11:22:49 -05:00
|
|
|
hle/kernel/client_port.cpp
|
2016-06-14 18:03:30 -05:00
|
|
|
hle/kernel/client_session.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 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 22:11:18 -04:00
|
|
|
hle/kernel/kernel.cpp
|
2015-07-29 12:08:00 -03: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-04 00:01:16 -03:00
|
|
|
hle/kernel/process.cpp
|
2015-05-12 15:25:15 -05:00
|
|
|
hle/kernel/resource_limit.cpp
|
2014-12-03 18:49:51 -05:00
|
|
|
hle/kernel/semaphore.cpp
|
2016-05-22 11:22:49 -05:00
|
|
|
hle/kernel/server_port.cpp
|
2016-06-14 18:03:30 -05: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 02:51:43 -03:00
|
|
|
hle/kernel/timer.cpp
|
2015-05-21 00:37:07 -03:00
|
|
|
hle/kernel/vm_manager.cpp
|
2017-05-29 15:45:30 -07:00
|
|
|
hle/kernel/wait_object.cpp
|
2017-07-20 23:52:50 -05:00
|
|
|
hle/lock.cpp
|
2017-06-15 19:09:05 +03: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 18:38:33 -07:00
|
|
|
hle/service/dsp_dsp.cpp
|
2014-10-28 23:08:37 -04:00
|
|
|
hle/service/gsp_gpu.cpp
|
2015-01-18 15:07:48 -08:00
|
|
|
hle/service/hid/hid.cpp
|
2017-10-14 22:18:42 -04:00
|
|
|
hle/service/lm/lm.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-05 23:31:59 -07:00
|
|
|
hle/service/sm/sm.cpp
|
2015-01-01 21:41:34 -08:00
|
|
|
hle/shared_page.cpp
|
2017-01-01 14:58:02 +02:00
|
|
|
hw/aes/arithmetic128.cpp
|
|
|
|
hw/aes/ccm.cpp
|
|
|
|
hw/aes/key.cpp
|
2014-05-17 22:50:33 +02:00
|
|
|
hw/gpu.cpp
|
2014-04-09 23:09:05 -04:00
|
|
|
hw/hw.cpp
|
2014-10-12 22:40:26 -07:00
|
|
|
hw/lcd.cpp
|
2014-08-23 22:22:05 -03:00
|
|
|
loader/elf.cpp
|
2017-10-05 23:30:08 -04:00
|
|
|
loader/linker.cpp
|
2014-08-23 22:22:05 -03: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 12:57:31 +02:00
|
|
|
tracer/recorder.cpp
|
2015-05-12 22:38:29 -03: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-02 00:09:15 -04:00
|
|
|
telemetry_session.cpp
|
2014-08-23 22:22:05 -03:00
|
|
|
)
|
2013-08-29 23:35:09 -04:00
|
|
|
|
2014-08-23 22:22:05 -03:00
|
|
|
set(HEADERS
|
2017-05-27 18:06:59 -07:00
|
|
|
3ds.h
|
2015-05-08 02:51:43 -03: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 02:51:43 -03:00
|
|
|
core.h
|
|
|
|
core_timing.h
|
2014-12-15 02:51:38 -02:00
|
|
|
file_sys/archive_backend.h
|
2015-05-08 02:51:43 -03:00
|
|
|
file_sys/directory_backend.h
|
2014-12-16 00:33:41 -05:00
|
|
|
file_sys/disk_archive.h
|
2017-02-15 15:49:07 +02:00
|
|
|
file_sys/errors.h
|
2014-12-15 05:03:17 -02:00
|
|
|
file_sys/file_backend.h
|
2015-01-01 12:39:27 -05:00
|
|
|
file_sys/ivfc_archive.h
|
2016-10-16 22:19:13 +08:00
|
|
|
file_sys/path_parser.h
|
2016-10-17 14:54:48 +08:00
|
|
|
file_sys/savedata_archive.h
|
2016-12-23 13:37:40 +00:00
|
|
|
frontend/emu_window.h
|
2017-05-27 16:10:25 -07:00
|
|
|
frontend/framebuffer_layout.h
|
2017-01-20 21:52:32 +02:00
|
|
|
frontend/input.h
|
2015-09-02 08:56:38 -04:00
|
|
|
gdbstub/gdbstub.h
|
2015-05-08 02:51:43 -03:00
|
|
|
hle/config_mem.h
|
2016-12-08 11:06:19 -05:00
|
|
|
hle/ipc.h
|
2016-12-26 13:39:45 +01:00
|
|
|
hle/ipc_helpers.h
|
2014-07-06 23:15:40 -04:00
|
|
|
hle/kernel/address_arbiter.h
|
2016-05-22 11:22:49 -05:00
|
|
|
hle/kernel/client_port.h
|
2016-06-14 18:03:30 -05:00
|
|
|
hle/kernel/client_session.h
|
2017-12-28 23:30:21 -05:00
|
|
|
hle/kernel/domain.h
|
2017-05-21 00:11:36 -07:00
|
|
|
hle/kernel/errors.h
|
2014-08-23 22:22:05 -03: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 23:39:25 -04:00
|
|
|
hle/kernel/kernel.h
|
2015-07-29 12:08:00 -03: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-04 00:01:16 -03:00
|
|
|
hle/kernel/process.h
|
2015-05-12 15:25:15 -05:00
|
|
|
hle/kernel/resource_limit.h
|
2014-12-03 18:49:51 -05:00
|
|
|
hle/kernel/semaphore.h
|
2016-05-22 11:22:49 -05:00
|
|
|
hle/kernel/server_port.h
|
2016-06-14 18:03:30 -05: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 02:51:43 -03:00
|
|
|
hle/kernel/timer.h
|
2015-05-21 00:37:07 -03:00
|
|
|
hle/kernel/vm_manager.h
|
2017-05-29 15:45:30 -07:00
|
|
|
hle/kernel/wait_object.h
|
2017-07-20 23:52:50 -05:00
|
|
|
hle/lock.h
|
2015-05-08 02:51:43 -03:00
|
|
|
hle/result.h
|
2017-06-15 19:09:05 +03: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 18:38:33 -07:00
|
|
|
hle/service/dsp_dsp.h
|
2014-10-28 23:08:37 -04:00
|
|
|
hle/service/gsp_gpu.h
|
2015-01-18 15:07:48 -08:00
|
|
|
hle/service/hid/hid.h
|
2017-10-14 22:18:42 -04:00
|
|
|
hle/service/lm/lm.h
|
2017-12-28 23:44:39 -05: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 22:18:42 -04:00
|
|
|
hle/service/sm/controller.h
|
2017-06-05 23:31:59 -07:00
|
|
|
hle/service/sm/sm.h
|
2015-01-01 21:41:34 -08:00
|
|
|
hle/shared_page.h
|
2017-01-01 14:58:02 +02:00
|
|
|
hw/aes/arithmetic128.h
|
|
|
|
hw/aes/ccm.h
|
|
|
|
hw/aes/key.h
|
2014-05-17 22:50:33 +02: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 22:22:05 -03:00
|
|
|
loader/elf.h
|
2017-10-05 23:30:08 -04:00
|
|
|
loader/linker.h
|
2014-08-23 22:22:05 -03: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 12:57:31 +02:00
|
|
|
tracer/recorder.h
|
2015-05-21 02:51:28 +02:00
|
|
|
tracer/citrace.h
|
2015-05-12 22:38:29 -03:00
|
|
|
memory.h
|
2015-05-12 23:38:56 -03:00
|
|
|
memory_setup.h
|
2016-01-30 18:41:04 +00: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-02 00:09:15 -04:00
|
|
|
telemetry_session.h
|
2014-08-23 22:22:05 -03:00
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2014-05-19 15:19:36 -07:00
|
|
|
add_library(core STATIC ${SRCS} ${HEADERS})
|
2017-08-19 19:14:33 +02:00
|
|
|
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core)
|
2017-09-24 11:04:55 -04:00
|
|
|
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt lz4_static)
|
2017-07-09 17:52:18 -04:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
|
|
target_link_libraries(core PUBLIC json-headers web_service)
|
|
|
|
endif()
|