lpac/src/lpac.manifest
Coelacanthus 50cd40b8eb
fix(cmake): correctly embed manifest on MinGW target and check Windows version before actual work (#343)
MinGW target doesn't support manifest in sources currently, 
see https://gitlab.kitware.com/cmake/cmake/-/issues/23244

Co-authored-by: septs <github@septs.pw>
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
2025-09-17 23:59:09 +08:00

29 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
>
<!--
We need Windows 10 version 1903 (May 2019 Update) to use activeCodePage,
but the step is too large so we can only limit to Win10 and above.
-->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 and 11 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
<!-- Use UTF-8 code page, need Windows 10 version 1903 and above -->
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">
<activeCodePage>UTF-8</activeCodePage>
</asmv3:windowsSettings>
</asmv3:application>
<!-- Remove (most) legacy path limits -->
<asmv3:application>
<asmv3:windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<ws2:longPathAware>true</ws2:longPathAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>