reactos/dll/apisets/CMakeLists.txt

256 lines
15 KiB
CMake

# This file is generated by update.py, please edit CMakeLists.txt.in instead
# Generated from wine-3.20-144-g2ef62f9085
project(apisets)
function (add_apiset apiset_name baseaddress)
spec2def(${apiset_name}.dll ${apiset_name}.spec ADD_IMPORTLIB)
add_definitions(
-D_CTYPE_DISABLE_MACROS
-D_NO_INLINING
-D__CRT__NO_INLINE
-D__STDC_WANT_SECURE_LIB__=0
-D_INC_STRING
-D_CTYPE_DEFINED
-D_WCTYPE_DEFINED
-D_CRT_ERRNO_DEFINED)
add_library(${apiset_name} SHARED
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
add_dependencies(${apiset_name} xdk)
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
if(NOT MSVC)
add_target_compile_flags(${apiset_name} "-fno-builtin")
else()
add_target_compile_flags(${apiset_name} "/wd4026 /wd4273")
endif()
add_importlibs(${apiset_name} ${ARGN} ntdll)
add_cd_file(TARGET ${apiset_name} DESTINATION reactos/winsxs/x86_reactos.apisets_6595b64144ccf1df_1.0.0.0_none_deadbeef FOR all)
endfunction()
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)
# Apisets will be appended
add_apiset(api-ms-win-appmodel-identity-l1-1-0 0x60000000 )
add_apiset(api-ms-win-appmodel-runtime-l1-1-1 0x60020000 )
add_apiset(api-ms-win-appmodel-runtime-l1-1-2 0x60040000 )
add_apiset(api-ms-win-core-apiquery-l1-1-0 0x60060000 )
add_apiset(api-ms-win-core-appcompat-l1-1-1 0x60070000 kernel32)
add_apiset(api-ms-win-core-appinit-l1-1-0 0x60080000 )
add_apiset(api-ms-win-core-atoms-l1-1-0 0x60090000 kernel32)
add_apiset(api-ms-win-core-bem-l1-1-0 0x600a0000 )
add_apiset(api-ms-win-core-com-l1-1-0 0x600b0000 ole32)
add_apiset(api-ms-win-core-com-l1-1-1 0x600c0000 ole32)
add_apiset(api-ms-win-core-com-private-l1-1-0 0x600e0000 ole32)
add_apiset(api-ms-win-core-comm-l1-1-0 0x60130000 kernel32)
add_apiset(api-ms-win-core-console-l1-1-0 0x60140000 kernel32)
add_apiset(api-ms-win-core-console-l2-1-0 0x60150000 kernel32)
add_apiset(api-ms-win-core-crt-l1-1-0 0x60160000 msvcrt)
add_apiset(api-ms-win-core-crt-l2-1-0 0x60190000 msvcrt)
add_apiset(api-ms-win-core-datetime-l1-1-0 0x601a0000 kernel32)
add_apiset(api-ms-win-core-datetime-l1-1-1 0x601b0000 kernel32)
add_apiset(api-ms-win-core-debug-l1-1-0 0x601c0000 kernel32)
add_apiset(api-ms-win-core-debug-l1-1-1 0x601d0000 kernel32)
add_apiset(api-ms-win-core-delayload-l1-1-0 0x601e0000 kernel32)
add_apiset(api-ms-win-core-delayload-l1-1-1 0x601f0000 kernel32)
add_apiset(api-ms-win-core-errorhandling-l1-1-0 0x60200000 kernel32)
add_apiset(api-ms-win-core-errorhandling-l1-1-1 0x60210000 kernel32)
add_apiset(api-ms-win-core-errorhandling-l1-1-2 0x60220000 kernel32)
add_apiset(api-ms-win-core-errorhandling-l1-1-3 0x60230000 kernel32)
add_apiset(api-ms-win-core-fibers-l1-1-0 0x60240000 kernel32)
add_apiset(api-ms-win-core-fibers-l1-1-1 0x60250000 kernel32)
add_apiset(api-ms-win-core-file-l1-1-0 0x60260000 kernel32)
add_apiset(api-ms-win-core-file-l1-2-0 0x60270000 kernel32)
add_apiset(api-ms-win-core-file-l1-2-1 0x60280000 kernel32)
add_apiset(api-ms-win-core-file-l1-2-2 0x60290000 kernel32)
add_apiset(api-ms-win-core-file-l2-1-0 0x602a0000 kernel32)
add_apiset(api-ms-win-core-file-l2-1-1 0x602b0000 kernel32)
add_apiset(api-ms-win-core-file-l2-1-2 0x602c0000 kernel32)
add_apiset(api-ms-win-core-handle-l1-1-0 0x602d0000 kernel32)
add_apiset(api-ms-win-core-heap-l1-1-0 0x602e0000 kernel32)
add_apiset(api-ms-win-core-heap-l1-2-0 0x602f0000 kernel32)
add_apiset(api-ms-win-core-heap-l2-1-0 0x60300000 kernel32)
add_apiset(api-ms-win-core-heap-obsolete-l1-1-0 0x60310000 kernel32)
add_apiset(api-ms-win-core-interlocked-l1-1-0 0x60320000 kernel32)
add_apiset(api-ms-win-core-interlocked-l1-2-0 0x60330000 kernel32)
add_apiset(api-ms-win-core-io-l1-1-0 0x60340000 kernel32)
add_apiset(api-ms-win-core-io-l1-1-1 0x60350000 kernel32)
add_apiset(api-ms-win-core-job-l1-1-0 0x60360000 kernel32)
add_apiset(api-ms-win-core-job-l2-1-0 0x60370000 kernel32)
add_apiset(api-ms-win-core-kernel32-legacy-l1-1-0 0x60380000 kernel32)
add_apiset(api-ms-win-core-kernel32-legacy-l1-1-1 0x60390000 kernel32)
add_apiset(api-ms-win-core-kernel32-private-l1-1-1 0x603a0000 kernel32)
add_apiset(api-ms-win-core-largeinteger-l1-1-0 0x603b0000 kernel32)
add_apiset(api-ms-win-core-libraryloader-l1-1-0 0x603c0000 kernel32 user32)
add_apiset(api-ms-win-core-libraryloader-l1-1-1 0x603d0000 kernel32 user32)
add_apiset(api-ms-win-core-libraryloader-l1-2-0 0x603e0000 kernel32 user32)
add_apiset(api-ms-win-core-libraryloader-l1-2-1 0x603f0000 kernel32)
add_apiset(api-ms-win-core-libraryloader-l1-2-2 0x60400000 kernel32)
add_apiset(api-ms-win-core-localization-l1-1-0 0x60410000 kernel32)
add_apiset(api-ms-win-core-localization-l1-2-0 0x60420000 kernel32)
add_apiset(api-ms-win-core-localization-l1-2-1 0x60430000 kernel32)
add_apiset(api-ms-win-core-localization-l2-1-0 0x60440000 kernel32)
add_apiset(api-ms-win-core-localization-obsolete-l1-1-0 0x60450000 kernel32)
add_apiset(api-ms-win-core-localization-obsolete-l1-2-0 0x60460000 kernel32)
add_apiset(api-ms-win-core-localization-obsolete-l1-3-0 0x60470000 kernel32)
add_apiset(api-ms-win-core-localization-private-l1-1-0 0x60480000 kernel32)
add_apiset(api-ms-win-core-localregistry-l1-1-0 0x60490000 advapi32 advapi32_vista)
add_apiset(api-ms-win-core-memory-l1-1-0 0x604a0000 kernel32)
add_apiset(api-ms-win-core-memory-l1-1-1 0x604b0000 kernel32)
add_apiset(api-ms-win-core-memory-l1-1-2 0x604c0000 kernel32)
add_apiset(api-ms-win-core-misc-l1-1-0 0x604d0000 kernel32)
add_apiset(api-ms-win-core-namedpipe-l1-1-0 0x604e0000 kernel32 advapi32)
add_apiset(api-ms-win-core-namedpipe-l1-2-0 0x604f0000 kernel32 advapi32)
add_apiset(api-ms-win-core-namespace-l1-1-0 0x60500000 kernel32)
add_apiset(api-ms-win-core-normalization-l1-1-0 0x60510000 kernel32)
add_apiset(api-ms-win-core-path-l1-1-0 0x60520000 )
add_apiset(api-ms-win-core-privateprofile-l1-1-1 0x60540000 kernel32)
add_apiset(api-ms-win-core-processenvironment-l1-1-0 0x60550000 kernel32)
add_apiset(api-ms-win-core-processenvironment-l1-2-0 0x60560000 kernel32)
add_apiset(api-ms-win-core-processthreads-l1-1-0 0x60570000 kernel32 advapi32)
add_apiset(api-ms-win-core-processthreads-l1-1-1 0x60580000 kernel32 advapi32)
add_apiset(api-ms-win-core-processthreads-l1-1-2 0x60590000 kernel32 advapi32)
add_apiset(api-ms-win-core-processthreads-l1-1-3 0x605a0000 kernel32)
add_apiset(api-ms-win-core-processtopology-obsolete-l1-1-0 0x605b0000 kernel32)
add_apiset(api-ms-win-core-profile-l1-1-0 0x605c0000 kernel32)
add_apiset(api-ms-win-core-psapi-ansi-l1-1-0 0x605d0000 kernel32)
add_apiset(api-ms-win-core-psapi-l1-1-0 0x605e0000 kernel32)
add_apiset(api-ms-win-core-psapi-obsolete-l1-1-0 0x605f0000 )
add_apiset(api-ms-win-core-quirks-l1-1-0 0x60600000 )
add_apiset(api-ms-win-core-realtime-l1-1-0 0x60610000 kernel32)
add_apiset(api-ms-win-core-registry-l1-1-0 0x60620000 advapi32 advapi32_vista)
add_apiset(api-ms-win-core-registry-l2-1-0 0x60630000 advapi32 advapi32_vista)
add_apiset(api-ms-win-core-registryuserspecific-l1-1-0 0x60640000 shlwapi)
add_apiset(api-ms-win-core-rtlsupport-l1-1-0 0x60650000 kernel32)
add_apiset(api-ms-win-core-rtlsupport-l1-2-0 0x60660000 )
add_apiset(api-ms-win-core-shlwapi-legacy-l1-1-0 0x60670000 shlwapi)
add_apiset(api-ms-win-core-shlwapi-obsolete-l1-1-0 0x60680000 shlwapi)
add_apiset(api-ms-win-core-shlwapi-obsolete-l1-2-0 0x60690000 shlwapi)
add_apiset(api-ms-win-core-shutdown-l1-1-0 0x606a0000 advapi32)
add_apiset(api-ms-win-core-sidebyside-l1-1-0 0x606b0000 kernel32)
add_apiset(api-ms-win-core-string-l1-1-0 0x606c0000 kernel32)
add_apiset(api-ms-win-core-string-l2-1-0 0x606d0000 user32)
add_apiset(api-ms-win-core-string-obsolete-l1-1-0 0x606e0000 kernel32)
add_apiset(api-ms-win-core-stringansi-l1-1-0 0x606f0000 user32)
add_apiset(api-ms-win-core-stringloader-l1-1-1 0x60700000 user32)
add_apiset(api-ms-win-core-synch-ansi-l1-1-0 0x60710000 kernel32)
add_apiset(api-ms-win-core-synch-l1-1-0 0x60720000 kernel32)
add_apiset(api-ms-win-core-synch-l1-2-0 0x60730000 kernel32)
add_apiset(api-ms-win-core-synch-l1-2-1 0x60740000 kernel32)
add_apiset(api-ms-win-core-sysinfo-l1-1-0 0x60750000 kernel32)
add_apiset(api-ms-win-core-sysinfo-l1-2-0 0x60760000 kernel32)
add_apiset(api-ms-win-core-sysinfo-l1-2-1 0x60770000 kernel32)
add_apiset(api-ms-win-core-threadpool-l1-1-0 0x60780000 kernel32)
add_apiset(api-ms-win-core-threadpool-l1-2-0 0x60790000 kernel32)
add_apiset(api-ms-win-core-threadpool-legacy-l1-1-0 0x607a0000 kernel32)
add_apiset(api-ms-win-core-threadpool-private-l1-1-0 0x607b0000 kernel32)
add_apiset(api-ms-win-core-timezone-l1-1-0 0x607c0000 kernel32)
add_apiset(api-ms-win-core-toolhelp-l1-1-0 0x607d0000 kernel32)
add_apiset(api-ms-win-core-url-l1-1-0 0x607e0000 shlwapi)
add_apiset(api-ms-win-core-util-l1-1-0 0x607f0000 kernel32)
add_apiset(api-ms-win-core-version-l1-1-0 0x60800000 version)
add_apiset(api-ms-win-core-version-l1-1-1 0x60810000 version)
add_apiset(api-ms-win-core-version-private-l1-1-0 0x60820000 )
add_apiset(api-ms-win-core-versionansi-l1-1-0 0x60830000 version)
add_apiset(api-ms-win-core-windowserrorreporting-l1-1-0 0x60840000 kernel32)
add_apiset(api-ms-win-core-winrt-error-l1-1-0 0x60850000 )
add_apiset(api-ms-win-core-winrt-error-l1-1-1 0x60860000 )
add_apiset(api-ms-win-core-winrt-errorprivate-l1-1-1 0x60880000 )
add_apiset(api-ms-win-core-winrt-l1-1-0 0x60890000 )
add_apiset(api-ms-win-core-winrt-registration-l1-1-0 0x608a0000 )
add_apiset(api-ms-win-core-winrt-roparameterizediid-l1-1-0 0x608b0000 )
add_apiset(api-ms-win-core-winrt-string-l1-1-0 0x608c0000 )
add_apiset(api-ms-win-core-winrt-string-l1-1-1 0x608e0000 )
add_apiset(api-ms-win-core-wow64-l1-1-0 0x60900000 kernel32)
add_apiset(api-ms-win-core-wow64-l1-1-1 0x60910000 kernel32)
add_apiset(api-ms-win-core-xstate-l1-1-0 0x60920000 )
add_apiset(api-ms-win-core-xstate-l2-1-0 0x60930000 )
add_apiset(api-ms-win-crt-conio-l1-1-0 0x60940000 msvcrt)
add_apiset(api-ms-win-crt-convert-l1-1-0 0x60960000 msvcrt)
add_apiset(api-ms-win-crt-environment-l1-1-0 0x609c0000 msvcrt)
add_apiset(api-ms-win-crt-filesystem-l1-1-0 0x609d0000 msvcrt)
add_apiset(api-ms-win-crt-heap-l1-1-0 0x60a00000 msvcrt)
add_apiset(api-ms-win-crt-locale-l1-1-0 0x60a10000 msvcrt)
add_apiset(api-ms-win-crt-math-l1-1-0 0x60a20000 msvcrt)
add_apiset(api-ms-win-crt-multibyte-l1-1-0 0x60b30000 msvcrt)
add_apiset(api-ms-win-crt-private-l1-1-0 0x60bb0000 msvcrt kernel32)
add_apiset(api-ms-win-crt-process-l1-1-0 0x61020000 msvcrt)
add_apiset(api-ms-win-crt-runtime-l1-1-0 0x61030000 msvcrt)
add_apiset(api-ms-win-crt-stdio-l1-1-0 0x61070000 msvcrt)
add_apiset(api-ms-win-crt-string-l1-1-0 0x610c0000 msvcrt)
add_apiset(api-ms-win-crt-time-l1-1-0 0x61120000 msvcrt)
add_apiset(api-ms-win-crt-utility-l1-1-0 0x61150000 msvcrt)
add_apiset(api-ms-win-devices-config-l1-1-0 0x61160000 setupapi)
add_apiset(api-ms-win-devices-config-l1-1-1 0x61170000 setupapi)
add_apiset(api-ms-win-devices-query-l1-1-1 0x61180000 )
add_apiset(api-ms-win-downlevel-advapi32-l1-1-0 0x61190000 advapi32 advapi32_vista)
add_apiset(api-ms-win-downlevel-advapi32-l2-1-0 0x611b0000 advapi32)
add_apiset(api-ms-win-downlevel-normaliz-l1-1-0 0x611c0000 kernel32)
add_apiset(api-ms-win-downlevel-ole32-l1-1-0 0x611d0000 ole32)
add_apiset(api-ms-win-downlevel-shell32-l1-1-0 0x611e0000 shell32)
add_apiset(api-ms-win-downlevel-shlwapi-l1-1-0 0x611f0000 shlwapi)
add_apiset(api-ms-win-downlevel-shlwapi-l2-1-0 0x61200000 shlwapi)
add_apiset(api-ms-win-downlevel-user32-l1-1-0 0x61210000 user32)
add_apiset(api-ms-win-downlevel-version-l1-1-0 0x61220000 version)
add_apiset(api-ms-win-dx-d3dkmt-l1-1-0 0x61230000 gdi32)
add_apiset(api-ms-win-eventing-classicprovider-l1-1-0 0x61290000 advapi32)
add_apiset(api-ms-win-eventing-consumer-l1-1-0 0x612a0000 advapi32)
add_apiset(api-ms-win-eventing-controller-l1-1-0 0x612b0000 advapi32)
add_apiset(api-ms-win-eventing-legacy-l1-1-0 0x612c0000 advapi32)
add_apiset(api-ms-win-eventing-provider-l1-1-0 0x612d0000 )
add_apiset(api-ms-win-eventlog-legacy-l1-1-0 0x612e0000 advapi32)
add_apiset(api-ms-win-gdi-dpiinfo-l1-1-0 0x612f0000 )
add_apiset(api-ms-win-mm-joystick-l1-1-0 0x61300000 winmm)
add_apiset(api-ms-win-mm-misc-l1-1-1 0x61310000 winmm)
add_apiset(api-ms-win-mm-mme-l1-1-0 0x61320000 winmm)
add_apiset(api-ms-win-mm-time-l1-1-0 0x61330000 winmm)
add_apiset(api-ms-win-ntuser-dc-access-l1-1-0 0x61340000 user32)
add_apiset(api-ms-win-ntuser-rectangle-l1-1-0 0x61350000 user32)
add_apiset(api-ms-win-ntuser-sysparams-l1-1-0 0x61360000 user32)
add_apiset(api-ms-win-perf-legacy-l1-1-0 0x61370000 )
add_apiset(api-ms-win-power-base-l1-1-0 0x61380000 powrprof)
add_apiset(api-ms-win-power-setting-l1-1-0 0x61390000 powrprof)
add_apiset(api-ms-win-rtcore-ntuser-draw-l1-1-0 0x613a0000 user32)
add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-0 0x613b0000 user32)
add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-4 0x613c0000 )
add_apiset(api-ms-win-rtcore-ntuser-window-l1-1-0 0x613d0000 user32)
add_apiset(api-ms-win-rtcore-ntuser-winevent-l1-1-0 0x613e0000 user32)
add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 0x613f0000 )
add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 0x61410000 )
add_apiset(api-ms-win-security-activedirectoryclient-l1-1-0 0x61420000 ntdsapi)
add_apiset(api-ms-win-security-audit-l1-1-1 0x61430000 )
add_apiset(api-ms-win-security-base-l1-1-0 0x61440000 advapi32)
add_apiset(api-ms-win-security-base-l1-2-0 0x61450000 advapi32)
add_apiset(api-ms-win-security-base-private-l1-1-1 0x61460000 advapi32)
add_apiset(api-ms-win-security-credentials-l1-1-0 0x61470000 advapi32)
add_apiset(api-ms-win-security-cryptoapi-l1-1-0 0x61480000 advapi32)
add_apiset(api-ms-win-security-grouppolicy-l1-1-0 0x61490000 userenv)
add_apiset(api-ms-win-security-lsalookup-l1-1-0 0x614b0000 )
add_apiset(api-ms-win-security-lsalookup-l1-1-1 0x614c0000 )
add_apiset(api-ms-win-security-lsalookup-l2-1-0 0x614d0000 advapi32)
add_apiset(api-ms-win-security-lsalookup-l2-1-1 0x614e0000 advapi32)
add_apiset(api-ms-win-security-lsapolicy-l1-1-0 0x614f0000 advapi32)
add_apiset(api-ms-win-security-provider-l1-1-0 0x61500000 advapi32)
add_apiset(api-ms-win-security-sddl-l1-1-0 0x61510000 advapi32)
add_apiset(api-ms-win-security-systemfunctions-l1-1-0 0x61520000 advapi32)
add_apiset(api-ms-win-service-core-l1-1-0 0x61530000 advapi32)
add_apiset(api-ms-win-service-core-l1-1-1 0x61540000 advapi32)
add_apiset(api-ms-win-service-management-l1-1-0 0x61550000 advapi32)
add_apiset(api-ms-win-service-management-l2-1-0 0x61560000 advapi32)
add_apiset(api-ms-win-service-private-l1-1-1 0x61570000 advapi32)
add_apiset(api-ms-win-service-winsvc-l1-1-0 0x61580000 advapi32)
add_apiset(api-ms-win-service-winsvc-l1-2-0 0x61590000 advapi32)
add_apiset(api-ms-win-shcore-obsolete-l1-1-0 0x615a0000 shlwapi shell32)
add_apiset(api-ms-win-shcore-scaling-l1-1-1 0x615b0000 )
add_apiset(api-ms-win-shcore-stream-l1-1-0 0x615c0000 shlwapi)
add_apiset(api-ms-win-shcore-thread-l1-1-0 0x615d0000 shlwapi)
add_apiset(api-ms-win-shell-shellcom-l1-1-0 0x615e0000 shell32)
add_apiset(api-ms-win-shell-shellfolders-l1-1-0 0x615f0000 shell32)