chore(windows): replace PowerShell build with build_windows.bat; update README and release script

This commit is contained in:
2025-08-29 09:49:42 +02:00
parent 77879e6521
commit b4e40d44c4
4 changed files with 20 additions and 102 deletions

View File

@ -89,35 +89,20 @@ The project includes several build scripts in the `scripts/` directory for diffe
### Windows Build Scripts
#### PowerShell Build (Recommended)
**File:** `scripts/build_windows.ps1`
**Requirements:** PowerShell, Visual Studio 2022 Build Tools (C++), vcpkg (will be bootstrapped), Git
```powershell
# Run from project root
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build_windows.ps1
```
This script:
- Automatically bootstraps vcpkg if not present
- Configures CMake with Visual Studio 2022 generator
- Builds the project in Release configuration
- Creates a Windows distribution package with all artifacts
#### Command Line Build
**File:** `scripts/build_thinkpad.bat`
**Requirements:** Visual Studio 2022 Build Tools/Community with C++ workload, vcpkg
#### Windows Build (Recommended)
**File:** `scripts/build_windows.bat`
**Requirements:** Visual Studio 2022 Build Tools/Community with C++ workload, vcpkg, Git
```cmd
# Run from project root
scripts\build_thinkpad.bat
scripts\build_windows.bat
```
This script:
- Automatically detects and initializes Visual Studio environment
- Handles vcpkg bootstrapping
- Configures CMake with proper toolchain
- Builds the project using MSVC compiler
- Automatically detects and initializes the Visual Studio environment
- Bootstraps vcpkg if not present
- Configures CMake with the Visual Studio 2022 generator and vcpkg toolchain
- Builds the project in Release configuration using MSVC
### Linux Build Scripts
@ -196,16 +181,10 @@ This script:
### Compilation
#### Windows (PowerShell) - Build via scripts/build_windows.ps1
```powershell
# Requires: PowerShell, Visual Studio 2022 Build Tools (C++), vcpkg (will be bootstrapped), Git
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build_windows.ps1
```
#### Windows (Command Line) - Build via scripts/build_thinkpad.bat
#### Windows - Build via scripts/build_windows.bat
```cmd
# Requires: Visual Studio 2022 Build Tools/Community with C++ workload, vcpkg
scripts\build_thinkpad.bat
# Requires: Visual Studio 2022 Build Tools/Community with C++ workload, vcpkg, Git
scripts\build_windows.bat
```
#### Linux - Automated Build via scripts/build.sh