Author SHA1 Message Date
geruipu c78e56bf46 Add experimental Win7 static compatibility profile 2026-07-01 23:30:35 +08:00
geruipu 2126e2d623 Document Avalonia 11 package variant 2026-07-01 23:07:30 +08:00
3 changed files with 23 additions and 3 deletions

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>
+8
View File
@@ -14,6 +14,14 @@ Or add it manually:
<PackageReference Include="StaticLink.Avalonia" Version="3.119.2-7151.10" />
```
`3.119.2-7151.10` supports Avalonia 11. If you need the SkiaSharp 2 line for an Avalonia 11 project, use this optional package variant:
```xml
<PackageReference Include="StaticLink.Avalonia" Version="2.88.9-7151.10" />
```
`2.88.9-7151.10` is only for Avalonia 11 projects that specifically want SkiaSharp 2.
For macOS, also reference `StaticLink.Avalonia.Native`. This package is macOS-only and must match your Avalonia version because it contains `libAvaloniaNative.a`.
```xml
+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