Integrate vcpkg support for Windows builds and enhance documentation

- Added vcpkg integration in CMake for Windows, enabling automatic dependency management.
- Updated CMakePresets.json to include presets for debug and release builds with vcpkg.
- Created setup scripts for easy vcpkg installation on Windows.
- Enhanced documentation to guide users on vcpkg setup and usage with YAZE.
- Improved logging in Overworld class to track expanded tile flags during map assembly.
This commit is contained in:
scawful
2025-09-27 20:05:00 -04:00
parent 7815f8cc85
commit 5e45c94e59
8 changed files with 344 additions and 4 deletions

View File

@@ -59,9 +59,40 @@ sudo apt-get install -y build-essential cmake ninja-build pkg-config \
- Visual Studio 2019+ with C++ CMake tools
- No additional dependencies needed (all bundled)
**Option 2 - Full Development:**
**Option 2 - Full Development with vcpkg (Recommended):**
- Visual Studio 2019+ with C++ CMake tools
- Install vcpkg and dependencies from `vcpkg.json`
#### vcpkg Setup (Option 2)
Run the setup script to automatically configure vcpkg:
```cmd
# Command Prompt
scripts\setup-vcpkg-windows.bat
# PowerShell
.\scripts\setup-vcpkg-windows.ps1
```
Or manually:
```cmd
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg.exe integrate install
set VCPKG_ROOT=%CD%
```
#### Windows Build Commands
```cmd
# Debug build with vcpkg
cmake --preset windows-debug
cmake --build build --preset windows-debug
# Release build with vcpkg
cmake --preset windows-release
cmake --build build --preset windows-release
```
## Build Targets
### Applications