8e3518ebbfcc7a232aac19664a822e2f1112f529
[reactos.git] / dll / apisets / CMakeLists.txt
1
2 # This file is generated by update.py, please edit CMakeLists.txt.in instead
3 # Generated from wine-3.20-144-g2ef62f9085
4
5 project(apisets)
6
7 function (add_apiset apiset_name baseaddress)
8 spec2def(${apiset_name}.dll ${apiset_name}.spec ADD_IMPORTLIB)
9
10 add_definitions(
11 -D_CTYPE_DISABLE_MACROS
12 -D_NO_INLINING
13 -D__CRT__NO_INLINE
14 -D__STDC_WANT_SECURE_LIB__=0
15 -D_INC_STRING
16 -D_CTYPE_DEFINED
17 -D_WCTYPE_DEFINED
18 -D_CRT_ERRNO_DEFINED)
19
20 add_library(${apiset_name} SHARED
21 ${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}_stubs.c
22 ${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
23
24 add_dependencies(${apiset_name} xdk)
25 set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
26
27 if(NOT MSVC)
28 add_target_compile_flags(${apiset_name} "-fno-builtin")
29 else()
30 add_target_compile_flags(${apiset_name} "/wd4026 /wd4273")
31 endif()
32
33 add_importlibs(${apiset_name} ${ARGN} kernel32 ntdll)
34
35 add_cd_file(TARGET ${apiset_name} DESTINATION reactos/winsxs/x86_reactos.apisets_6595b64144ccf1df_1.0.0.0_none_deadbeef FOR all)
36 endfunction()
37
38 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_reactos.apisets_6595b64144ccf1df_1.0.0.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
39
40 # Apisets will be appended
41
42 add_apiset(api-ms-win-appmodel-identity-l1-1-0 0x60000000 )
43 add_apiset(api-ms-win-appmodel-runtime-l1-1-1 0x60020000 )
44 add_apiset(api-ms-win-appmodel-runtime-l1-1-2 0x60040000 )
45 add_apiset(api-ms-win-core-apiquery-l1-1-0 0x60060000 )
46 add_apiset(api-ms-win-core-appcompat-l1-1-1 0x60070000 )
47 add_apiset(api-ms-win-core-appinit-l1-1-0 0x60080000 )
48 add_apiset(api-ms-win-core-atoms-l1-1-0 0x60090000 )
49 add_apiset(api-ms-win-core-bem-l1-1-0 0x600a0000 )
50 add_apiset(api-ms-win-core-com-l1-1-0 0x600b0000 ole32)
51 add_apiset(api-ms-win-core-com-l1-1-1 0x600c0000 ole32)
52 add_apiset(api-ms-win-core-com-private-l1-1-0 0x600e0000 ole32)
53 add_apiset(api-ms-win-core-comm-l1-1-0 0x60130000 )
54 add_apiset(api-ms-win-core-console-l1-1-0 0x60140000 )
55 add_apiset(api-ms-win-core-console-l2-1-0 0x60150000 )
56 add_apiset(api-ms-win-core-crt-l1-1-0 0x60160000 msvcrt)
57 add_apiset(api-ms-win-core-crt-l2-1-0 0x60190000 msvcrt)
58 add_apiset(api-ms-win-core-datetime-l1-1-0 0x601a0000 )
59 add_apiset(api-ms-win-core-datetime-l1-1-1 0x601b0000 )
60 add_apiset(api-ms-win-core-debug-l1-1-0 0x601c0000 )
61 add_apiset(api-ms-win-core-debug-l1-1-1 0x601d0000 )
62 add_apiset(api-ms-win-core-delayload-l1-1-0 0x601e0000 )
63 add_apiset(api-ms-win-core-delayload-l1-1-1 0x601f0000 )
64 add_apiset(api-ms-win-core-errorhandling-l1-1-0 0x60200000 )
65 add_apiset(api-ms-win-core-errorhandling-l1-1-1 0x60210000 )
66 add_apiset(api-ms-win-core-errorhandling-l1-1-2 0x60220000 )
67 add_apiset(api-ms-win-core-errorhandling-l1-1-3 0x60230000 )
68 add_apiset(api-ms-win-core-fibers-l1-1-0 0x60240000 )
69 add_apiset(api-ms-win-core-fibers-l1-1-1 0x60250000 )
70 add_apiset(api-ms-win-core-file-l1-1-0 0x60260000 )
71 add_apiset(api-ms-win-core-file-l1-2-0 0x60270000 )
72 add_apiset(api-ms-win-core-file-l1-2-1 0x60280000 )
73 add_apiset(api-ms-win-core-file-l1-2-2 0x60290000 )
74 add_apiset(api-ms-win-core-file-l2-1-0 0x602a0000 )
75 add_apiset(api-ms-win-core-file-l2-1-1 0x602b0000 )
76 add_apiset(api-ms-win-core-file-l2-1-2 0x602c0000 )
77 add_apiset(api-ms-win-core-handle-l1-1-0 0x602d0000 )
78 add_apiset(api-ms-win-core-heap-l1-1-0 0x602e0000 )
79 add_apiset(api-ms-win-core-heap-l1-2-0 0x602f0000 )
80 add_apiset(api-ms-win-core-heap-l2-1-0 0x60300000 )
81 add_apiset(api-ms-win-core-heap-obsolete-l1-1-0 0x60310000 )
82 add_apiset(api-ms-win-core-interlocked-l1-1-0 0x60320000 )
83 add_apiset(api-ms-win-core-interlocked-l1-2-0 0x60330000 )
84 add_apiset(api-ms-win-core-io-l1-1-0 0x60340000 )
85 add_apiset(api-ms-win-core-io-l1-1-1 0x60350000 )
86 add_apiset(api-ms-win-core-job-l1-1-0 0x60360000 )
87 add_apiset(api-ms-win-core-job-l2-1-0 0x60370000 )
88 add_apiset(api-ms-win-core-kernel32-legacy-l1-1-0 0x60380000 )
89 add_apiset(api-ms-win-core-kernel32-legacy-l1-1-1 0x60390000 )
90 add_apiset(api-ms-win-core-kernel32-private-l1-1-1 0x603a0000 )
91 add_apiset(api-ms-win-core-largeinteger-l1-1-0 0x603b0000 )
92 add_apiset(api-ms-win-core-libraryloader-l1-1-0 0x603c0000 user32)
93 add_apiset(api-ms-win-core-libraryloader-l1-1-1 0x603d0000 user32)
94 add_apiset(api-ms-win-core-libraryloader-l1-2-0 0x603e0000 user32)
95 add_apiset(api-ms-win-core-libraryloader-l1-2-1 0x603f0000 )
96 add_apiset(api-ms-win-core-libraryloader-l1-2-2 0x60400000 )
97 add_apiset(api-ms-win-core-localization-l1-1-0 0x60410000 )
98 add_apiset(api-ms-win-core-localization-l1-2-0 0x60420000 )
99 add_apiset(api-ms-win-core-localization-l1-2-1 0x60430000 )
100 add_apiset(api-ms-win-core-localization-l2-1-0 0x60440000 )
101 add_apiset(api-ms-win-core-localization-obsolete-l1-1-0 0x60450000 )
102 add_apiset(api-ms-win-core-localization-obsolete-l1-2-0 0x60460000 )
103 add_apiset(api-ms-win-core-localization-obsolete-l1-3-0 0x60470000 )
104 add_apiset(api-ms-win-core-localization-private-l1-1-0 0x60480000 )
105 add_apiset(api-ms-win-core-localregistry-l1-1-0 0x60490000 advapi32 advapi32_vista)
106 add_apiset(api-ms-win-core-memory-l1-1-0 0x604a0000 )
107 add_apiset(api-ms-win-core-memory-l1-1-1 0x604b0000 )
108 add_apiset(api-ms-win-core-memory-l1-1-2 0x604c0000 )
109 add_apiset(api-ms-win-core-misc-l1-1-0 0x604d0000 )
110 add_apiset(api-ms-win-core-namedpipe-l1-1-0 0x604e0000 advapi32)
111 add_apiset(api-ms-win-core-namedpipe-l1-2-0 0x604f0000 advapi32)
112 add_apiset(api-ms-win-core-namespace-l1-1-0 0x60500000 )
113 add_apiset(api-ms-win-core-normalization-l1-1-0 0x60510000 )
114 add_apiset(api-ms-win-core-path-l1-1-0 0x60520000 )
115 add_apiset(api-ms-win-core-privateprofile-l1-1-1 0x60540000 )
116 add_apiset(api-ms-win-core-processenvironment-l1-1-0 0x60550000 )
117 add_apiset(api-ms-win-core-processenvironment-l1-2-0 0x60560000 )
118 add_apiset(api-ms-win-core-processthreads-l1-1-0 0x60570000 advapi32)
119 add_apiset(api-ms-win-core-processthreads-l1-1-1 0x60580000 advapi32)
120 add_apiset(api-ms-win-core-processthreads-l1-1-2 0x60590000 advapi32)
121 add_apiset(api-ms-win-core-processthreads-l1-1-3 0x605a0000 )
122 add_apiset(api-ms-win-core-processtopology-obsolete-l1-1-0 0x605b0000 )
123 add_apiset(api-ms-win-core-profile-l1-1-0 0x605c0000 )
124 add_apiset(api-ms-win-core-psapi-ansi-l1-1-0 0x605d0000 )
125 add_apiset(api-ms-win-core-psapi-l1-1-0 0x605e0000 )
126 add_apiset(api-ms-win-core-psapi-obsolete-l1-1-0 0x605f0000 )
127 add_apiset(api-ms-win-core-quirks-l1-1-0 0x60600000 )
128 add_apiset(api-ms-win-core-realtime-l1-1-0 0x60610000 )
129 add_apiset(api-ms-win-core-registry-l1-1-0 0x60620000 advapi32 advapi32_vista)
130 add_apiset(api-ms-win-core-registry-l2-1-0 0x60630000 advapi32 advapi32_vista)
131 add_apiset(api-ms-win-core-registryuserspecific-l1-1-0 0x60640000 shlwapi)
132 add_apiset(api-ms-win-core-rtlsupport-l1-1-0 0x60650000 )
133 add_apiset(api-ms-win-core-rtlsupport-l1-2-0 0x60660000 )
134 add_apiset(api-ms-win-core-shlwapi-legacy-l1-1-0 0x60670000 shlwapi)
135 add_apiset(api-ms-win-core-shlwapi-obsolete-l1-1-0 0x60680000 shlwapi)
136 add_apiset(api-ms-win-core-shlwapi-obsolete-l1-2-0 0x60690000 shlwapi)
137 add_apiset(api-ms-win-core-shutdown-l1-1-0 0x606a0000 advapi32)
138 add_apiset(api-ms-win-core-sidebyside-l1-1-0 0x606b0000 )
139 add_apiset(api-ms-win-core-string-l1-1-0 0x606c0000 )
140 add_apiset(api-ms-win-core-string-l2-1-0 0x606d0000 user32)
141 add_apiset(api-ms-win-core-string-obsolete-l1-1-0 0x606e0000 )
142 add_apiset(api-ms-win-core-stringansi-l1-1-0 0x606f0000 user32)
143 add_apiset(api-ms-win-core-stringloader-l1-1-1 0x60700000 user32)
144 add_apiset(api-ms-win-core-synch-ansi-l1-1-0 0x60710000 )
145 add_apiset(api-ms-win-core-synch-l1-1-0 0x60720000 )
146 add_apiset(api-ms-win-core-synch-l1-2-0 0x60730000 )
147 add_apiset(api-ms-win-core-synch-l1-2-1 0x60740000 )
148 add_apiset(api-ms-win-core-sysinfo-l1-1-0 0x60750000 )
149 add_apiset(api-ms-win-core-sysinfo-l1-2-0 0x60760000 )
150 add_apiset(api-ms-win-core-sysinfo-l1-2-1 0x60770000 )
151 add_apiset(api-ms-win-core-threadpool-l1-1-0 0x60780000 )
152 add_apiset(api-ms-win-core-threadpool-l1-2-0 0x60790000 )
153 add_apiset(api-ms-win-core-threadpool-legacy-l1-1-0 0x607a0000 )
154 add_apiset(api-ms-win-core-threadpool-private-l1-1-0 0x607b0000 )
155 add_apiset(api-ms-win-core-timezone-l1-1-0 0x607c0000 )
156 add_apiset(api-ms-win-core-toolhelp-l1-1-0 0x607d0000 )
157 add_apiset(api-ms-win-core-url-l1-1-0 0x607e0000 shlwapi)
158 add_apiset(api-ms-win-core-util-l1-1-0 0x607f0000 )
159 add_apiset(api-ms-win-core-version-l1-1-0 0x60800000 version)
160 add_apiset(api-ms-win-core-version-l1-1-1 0x60810000 version)
161 add_apiset(api-ms-win-core-version-private-l1-1-0 0x60820000 )
162 add_apiset(api-ms-win-core-versionansi-l1-1-0 0x60830000 version)
163 add_apiset(api-ms-win-core-windowserrorreporting-l1-1-0 0x60840000 )
164 add_apiset(api-ms-win-core-winrt-error-l1-1-0 0x60850000 )
165 add_apiset(api-ms-win-core-winrt-error-l1-1-1 0x60860000 )
166 add_apiset(api-ms-win-core-winrt-errorprivate-l1-1-1 0x60880000 )
167 add_apiset(api-ms-win-core-winrt-l1-1-0 0x60890000 )
168 add_apiset(api-ms-win-core-winrt-registration-l1-1-0 0x608a0000 )
169 add_apiset(api-ms-win-core-winrt-roparameterizediid-l1-1-0 0x608b0000 )
170 add_apiset(api-ms-win-core-winrt-string-l1-1-0 0x608c0000 )
171 add_apiset(api-ms-win-core-winrt-string-l1-1-1 0x608e0000 )
172 add_apiset(api-ms-win-core-wow64-l1-1-0 0x60900000 )
173 add_apiset(api-ms-win-core-wow64-l1-1-1 0x60910000 )
174 add_apiset(api-ms-win-core-xstate-l1-1-0 0x60920000 )
175 add_apiset(api-ms-win-core-xstate-l2-1-0 0x60930000 )
176 add_apiset(api-ms-win-crt-conio-l1-1-0 0x60940000 msvcrt)
177 add_apiset(api-ms-win-crt-convert-l1-1-0 0x60960000 msvcrt)
178 add_apiset(api-ms-win-crt-environment-l1-1-0 0x609c0000 msvcrt)
179 add_apiset(api-ms-win-crt-filesystem-l1-1-0 0x609d0000 msvcrt)
180 add_apiset(api-ms-win-crt-heap-l1-1-0 0x60a00000 msvcrt)
181 add_apiset(api-ms-win-crt-locale-l1-1-0 0x60a10000 msvcrt)
182 add_apiset(api-ms-win-crt-math-l1-1-0 0x60a20000 msvcrt)
183 add_apiset(api-ms-win-crt-multibyte-l1-1-0 0x60b30000 msvcrt)
184 add_apiset(api-ms-win-crt-private-l1-1-0 0x60bb0000 msvcrt)
185 add_apiset(api-ms-win-crt-process-l1-1-0 0x61020000 msvcrt)
186 add_apiset(api-ms-win-crt-runtime-l1-1-0 0x61030000 msvcrt)
187 add_apiset(api-ms-win-crt-stdio-l1-1-0 0x61070000 msvcrt)
188 add_apiset(api-ms-win-crt-string-l1-1-0 0x610c0000 msvcrt)
189 add_apiset(api-ms-win-crt-time-l1-1-0 0x61120000 msvcrt)
190 add_apiset(api-ms-win-crt-utility-l1-1-0 0x61150000 msvcrt)
191 add_apiset(api-ms-win-devices-config-l1-1-0 0x61160000 setupapi)
192 add_apiset(api-ms-win-devices-config-l1-1-1 0x61170000 setupapi)
193 add_apiset(api-ms-win-devices-query-l1-1-1 0x61180000 )
194 add_apiset(api-ms-win-downlevel-advapi32-l1-1-0 0x61190000 advapi32 advapi32_vista)
195 add_apiset(api-ms-win-downlevel-advapi32-l2-1-0 0x611b0000 advapi32)
196 add_apiset(api-ms-win-downlevel-normaliz-l1-1-0 0x611c0000 )
197 add_apiset(api-ms-win-downlevel-ole32-l1-1-0 0x611d0000 ole32)
198 add_apiset(api-ms-win-downlevel-shell32-l1-1-0 0x611e0000 shell32)
199 add_apiset(api-ms-win-downlevel-shlwapi-l1-1-0 0x611f0000 shlwapi)
200 add_apiset(api-ms-win-downlevel-shlwapi-l2-1-0 0x61200000 shlwapi)
201 add_apiset(api-ms-win-downlevel-user32-l1-1-0 0x61210000 user32)
202 add_apiset(api-ms-win-downlevel-version-l1-1-0 0x61220000 version)
203 add_apiset(api-ms-win-dx-d3dkmt-l1-1-0 0x61230000 gdi32)
204 add_apiset(api-ms-win-eventing-classicprovider-l1-1-0 0x61290000 advapi32)
205 add_apiset(api-ms-win-eventing-consumer-l1-1-0 0x612a0000 advapi32)
206 add_apiset(api-ms-win-eventing-controller-l1-1-0 0x612b0000 advapi32)
207 add_apiset(api-ms-win-eventing-legacy-l1-1-0 0x612c0000 advapi32)
208 add_apiset(api-ms-win-eventing-provider-l1-1-0 0x612d0000 )
209 add_apiset(api-ms-win-eventlog-legacy-l1-1-0 0x612e0000 advapi32)
210 add_apiset(api-ms-win-gdi-dpiinfo-l1-1-0 0x612f0000 )
211 add_apiset(api-ms-win-mm-joystick-l1-1-0 0x61300000 winmm)
212 add_apiset(api-ms-win-mm-misc-l1-1-1 0x61310000 winmm)
213 add_apiset(api-ms-win-mm-mme-l1-1-0 0x61320000 winmm)
214 add_apiset(api-ms-win-mm-time-l1-1-0 0x61330000 winmm)
215 add_apiset(api-ms-win-ntuser-dc-access-l1-1-0 0x61340000 user32)
216 add_apiset(api-ms-win-ntuser-rectangle-l1-1-0 0x61350000 user32)
217 add_apiset(api-ms-win-ntuser-sysparams-l1-1-0 0x61360000 user32)
218 add_apiset(api-ms-win-perf-legacy-l1-1-0 0x61370000 )
219 add_apiset(api-ms-win-power-base-l1-1-0 0x61380000 powrprof)
220 add_apiset(api-ms-win-power-setting-l1-1-0 0x61390000 powrprof)
221 add_apiset(api-ms-win-rtcore-ntuser-draw-l1-1-0 0x613a0000 user32)
222 add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-0 0x613b0000 user32)
223 add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-4 0x613c0000 )
224 add_apiset(api-ms-win-rtcore-ntuser-window-l1-1-0 0x613d0000 user32)
225 add_apiset(api-ms-win-rtcore-ntuser-winevent-l1-1-0 0x613e0000 user32)
226 add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 0x613f0000 )
227 add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 0x61410000 )
228 add_apiset(api-ms-win-security-activedirectoryclient-l1-1-0 0x61420000 ntdsapi)
229 add_apiset(api-ms-win-security-audit-l1-1-1 0x61430000 )
230 add_apiset(api-ms-win-security-base-l1-1-0 0x61440000 advapi32)
231 add_apiset(api-ms-win-security-base-l1-2-0 0x61450000 advapi32)
232 add_apiset(api-ms-win-security-base-private-l1-1-1 0x61460000 advapi32)
233 add_apiset(api-ms-win-security-credentials-l1-1-0 0x61470000 advapi32)
234 add_apiset(api-ms-win-security-cryptoapi-l1-1-0 0x61480000 advapi32)
235 add_apiset(api-ms-win-security-grouppolicy-l1-1-0 0x61490000 userenv)
236 add_apiset(api-ms-win-security-lsalookup-l1-1-0 0x614b0000 )
237 add_apiset(api-ms-win-security-lsalookup-l1-1-1 0x614c0000 )
238 add_apiset(api-ms-win-security-lsalookup-l2-1-0 0x614d0000 advapi32)
239 add_apiset(api-ms-win-security-lsalookup-l2-1-1 0x614e0000 advapi32)
240 add_apiset(api-ms-win-security-lsapolicy-l1-1-0 0x614f0000 advapi32)
241 add_apiset(api-ms-win-security-provider-l1-1-0 0x61500000 advapi32)
242 add_apiset(api-ms-win-security-sddl-l1-1-0 0x61510000 advapi32)
243 add_apiset(api-ms-win-security-systemfunctions-l1-1-0 0x61520000 advapi32)
244 add_apiset(api-ms-win-service-core-l1-1-0 0x61530000 advapi32)
245 add_apiset(api-ms-win-service-core-l1-1-1 0x61540000 advapi32)
246 add_apiset(api-ms-win-service-management-l1-1-0 0x61550000 advapi32)
247 add_apiset(api-ms-win-service-management-l2-1-0 0x61560000 advapi32)
248 add_apiset(api-ms-win-service-private-l1-1-1 0x61570000 advapi32)
249 add_apiset(api-ms-win-service-winsvc-l1-1-0 0x61580000 advapi32)
250 add_apiset(api-ms-win-service-winsvc-l1-2-0 0x61590000 advapi32)
251 add_apiset(api-ms-win-shcore-obsolete-l1-1-0 0x615a0000 shlwapi shell32)
252 add_apiset(api-ms-win-shcore-scaling-l1-1-1 0x615b0000 )
253 add_apiset(api-ms-win-shcore-stream-l1-1-0 0x615c0000 shlwapi)
254 add_apiset(api-ms-win-shcore-thread-l1-1-0 0x615d0000 shlwapi)
255 add_apiset(api-ms-win-shell-shellcom-l1-1-0 0x615e0000 shell32)
256 add_apiset(api-ms-win-shell-shellfolders-l1-1-0 0x615f0000 shell32)