summaryrefslogtreecommitdiffstats
path: root/src/core/CMakeLists.txt
blob: f41d52e801748cf08d4c47042ad82e72a16263a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
set(SRCS
            arm/disassembler/arm_disasm.cpp
            arm/disassembler/load_symbol_map.cpp
            arm/dyncom/arm_dyncom.cpp
            arm/dyncom/arm_dyncom_dec.cpp
            arm/dyncom/arm_dyncom_interpreter.cpp
            arm/dyncom/arm_dyncom_run.cpp
            arm/dyncom/arm_dyncom_thumb.cpp
            arm/interpreter/arm_interpreter.cpp
            arm/interpreter/armcopro.cpp
            arm/interpreter/armemu.cpp
            arm/interpreter/arminit.cpp
            arm/interpreter/armsupp.cpp
            arm/interpreter/armvirt.cpp
            arm/interpreter/thumbemu.cpp
            arm/skyeye_common/vfp/vfp.cpp
            arm/skyeye_common/vfp/vfpdouble.cpp
            arm/skyeye_common/vfp/vfpinstr.cpp
            arm/skyeye_common/vfp/vfpsingle.cpp
            file_sys/archive_romfs.cpp
            file_sys/archive_sdmc.cpp
            file_sys/file_romfs.cpp
            file_sys/file_sdmc.cpp
            file_sys/directory_romfs.cpp
            file_sys/directory_sdmc.cpp
            hle/kernel/address_arbiter.cpp
            hle/kernel/archive.cpp
            hle/kernel/event.cpp
            hle/kernel/kernel.cpp
            hle/kernel/mutex.cpp
            hle/kernel/shared_memory.cpp
            hle/kernel/thread.cpp
            hle/service/ac_u.cpp
            hle/service/apt_u.cpp
            hle/service/cfg_u.cpp
            hle/service/dsp_dsp.cpp
            hle/service/err_f.cpp
            hle/service/fs_user.cpp
            hle/service/frd_u.cpp
            hle/service/gsp_gpu.cpp
            hle/service/hid_user.cpp
            hle/service/mic_u.cpp
            hle/service/ndm_u.cpp
            hle/service/nwm_uds.cpp
            hle/service/ptm_u.cpp
            hle/service/service.cpp
            hle/service/soc_u.cpp
            hle/service/srv.cpp
            hle/service/ssl_c.cpp
            hle/config_mem.cpp
            hle/hle.cpp
            hle/svc.cpp
            hw/gpu.cpp
            hw/hw.cpp
            hw/ndma.cpp
            loader/elf.cpp
            loader/loader.cpp
            loader/ncch.cpp
            core.cpp
            core_timing.cpp
            mem_map.cpp
            mem_map_funcs.cpp
            settings.cpp
            system.cpp
            )

set(HEADERS
            arm/disassembler/arm_disasm.h
            arm/disassembler/load_symbol_map.h
            arm/dyncom/arm_dyncom.h
            arm/dyncom/arm_dyncom_dec.h
            arm/dyncom/arm_dyncom_interpreter.h
            arm/dyncom/arm_dyncom_run.h
            arm/dyncom/arm_dyncom_thumb.h
            arm/interpreter/arm_interpreter.h
            arm/skyeye_common/arm_regformat.h
            arm/skyeye_common/armcpu.h
            arm/skyeye_common/armdefs.h
            arm/skyeye_common/armemu.h
            arm/skyeye_common/armmmu.h
            arm/skyeye_common/armos.h
            arm/skyeye_common/skyeye_defs.h
            arm/skyeye_common/skyeye_types.h
            arm/skyeye_common/vfp/asm_vfp.h
            arm/skyeye_common/vfp/vfp.h
            arm/skyeye_common/vfp/vfp_helper.h
            arm/arm_interface.h
            file_sys/archive.h
            file_sys/archive_romfs.h
            file_sys/archive_sdmc.h
            file_sys/file.h
            file_sys/file_romfs.h
            file_sys/file_sdmc.h
            file_sys/directory.h
            file_sys/directory_romfs.h
            file_sys/directory_sdmc.h
            hle/kernel/address_arbiter.h
            hle/kernel/archive.h
            hle/kernel/event.h
            hle/kernel/kernel.h
            hle/kernel/mutex.h
            hle/kernel/shared_memory.h
            hle/kernel/thread.h
            hle/service/ac_u.h
            hle/service/apt_u.h
            hle/service/cfg_u.h
            hle/service/dsp_dsp.h
            hle/service/err_f.h
            hle/service/fs_user.h
            hle/service/frd_u.h
            hle/service/gsp_gpu.h
            hle/service/hid_user.h
            hle/service/mic_u.h
            hle/service/ndm_u.h
            hle/service/nwm_uds.h
            hle/service/ptm_u.h
            hle/service/service.h
            hle/service/soc_u.h
            hle/service/srv.h
            hle/service/ssl_c.h
            hle/config_mem.h
            hle/function_wrappers.h
            hle/hle.h
            hle/svc.h
            hw/gpu.h
            hw/hw.h
            hw/ndma.h
            loader/elf.h
            loader/loader.h
            loader/ncch.h
            core.h
            core_timing.h
            mem_map.h
            settings.h
            system.h
            )

create_directory_groups(${SRCS} ${HEADERS})

add_library(core STATIC ${SRCS} ${HEADERS})