It is recommended to compile the project with CMake preset and workflow.
- Visual Studio 2022 (17.10)
- Windows SDK 10.0.26100.0
- CMake 3.30
CMake configuration:
cmake --preset vs2022-amd64
Build (Debug or Release profile):
cmake --build --preset windows-amd64-debug
cmake --build --preset windows-amd64-release
Release (configuration and build Release profile):
cmake --workflow --preset windows-amd64-release
WARNING: Support for x86 32-bit version is deprecated
CMake configuration:
cmake --preset vs2022-x86
Build (Debug or Release profile):
cmake --build --preset windows-x86-debug
cmake --build --preset windows-x86-release
Release (configuration and build Release profile):
cmake --workflow --preset windows-x86-release
TODO: Waiting for me to get a Windows on arm laptop
建议通过 CMake 预配(preset)和工作流(workflow)编译项目。
- Visual Studio 2022 (17.10)
- Windows SDK 10.0.26100.0
- CMake 3.30
CMake 配置:
cmake --preset vs2022-amd64
编译:
cmake --build --preset windows-amd64-debug
cmake --build --preset windows-amd64-release
一键发行(CMake 配置、编译发行版):
cmake --workflow --preset windows-amd64-release
警告:x86 32 位版本即将停止支持
CMake 配置:
cmake --preset vs2022-x86
编译(调试版或发行版):
cmake --build --preset windows-x86-debug
cmake --build --preset windows-x86-release
一键发行(CMake 配置、编译发行版):
cmake --workflow --preset windows-x86-release
未完成:等我买一台 Windows on arm 笔记本