Add experimental Win7 static compatibility profile

This commit is contained in:
geruipu committed 2026-07-01 23:30:35 +08:00
1 parent 2126e2d623
commit c78e56bf46
2 files changed
+15 -3

No files matched your search

@@ -31,7 +31,8 @@
<LinkerArg Include="Gdi32.lib;User32.lib" />
<LinkerArg Include="synchronization.lib" />
<LinkerArg Include="fontsub.lib;Ole32.lib;USP10.lib" />
<LinkerArg Include="d3d12.lib;d3dcompiler.lib" />
<LinkerArg Include="d3dcompiler.lib" />
<LinkerArg Include="/SUBSYSTEM:WINDOWS,6.01" />
</ItemGroup>
<Target Name="StaticLinkAvaloniaAddWindowsDirectPInvokes"
@@ -74,7 +75,8 @@
<LinkerArg Include="Gdi32.lib;User32.lib" />
<LinkerArg Include="synchronization.lib" />
<LinkerArg Include="fontsub.lib;Ole32.lib;USP10.lib" />
<LinkerArg Include="d3d12.lib;d3dcompiler.lib" />
<LinkerArg Include="d3dcompiler.lib" />
<LinkerArg Include="/SUBSYSTEM:WINDOWS,6.01" />
</ItemGroup>
</Target>
+11 -1
View File
@@ -416,7 +416,12 @@ skia_use_system_libwebp = false
skia_use_system_zlib = false
skia_use_vulkan = false
skia_use_xps = true
extra_cflags = [ "-DSKIA_C_DLL" ]
extra_cflags = [
"-DSKIA_C_DLL",
"-DWINVER=0x0601",
"-D_WIN32_WINNT=0x0601",
"-DNTDDI_VERSION=0x06010000",
]
extra_cflags_cc = [ "/GR" ]
"@ | Set-Content -Path (Join-Path $outDir "args.gn") -Encoding ASCII
@@ -539,6 +544,11 @@ build_angle_deqp_tests = false
angle_enable_swiftshader = false
angle_enable_vulkan = false
angle_enable_wgpu = false
extra_cflags = [
"-DWINVER=0x0601",
"-D_WIN32_WINNT=0x0601",
"-DNTDDI_VERSION=0x06010000",
]
"@ | Set-Content -Path (Join-Path $outDir "args.gn") -Encoding ASCII
gn gen $outDir
ninja -C $outDir -j $BuildJobs libANGLE_static libGLESv2_static