configure.ps1: Fix path handling and improve reliability #21

Merged
harraiken merged 1 commits from perikiyoxd/exectos:powershell-tidy into master 2025-10-10 20:18:06 +02:00
Contributor

Purpose

  • Use $PSScriptRoot to detect source directory
  • Use Join-Path for path construction
  • Validate BUILD_TYPE against Debug/Release
  • Fix CMake argument quoting
  • Use Write-Error for error messages

Proposed changes

Chores

Agreements

  • I have read the Contributors License Agreement and I consent to those terms.
<!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please follow the CONTRIBUTING.md to make your changes smoothly merged. --> ## Purpose - Use $PSScriptRoot to detect source directory - Use Join-Path for path construction - Validate BUILD_TYPE against Debug/Release - Fix CMake argument quoting - Use Write-Error for error messages ## Proposed changes Chores ## Agreements - [x] I have read the Contributors License Agreement and I consent to those terms.
perikiyoxd added 1 commit 2025-10-10 16:28:33 +02:00
- Use $PSScriptRoot for reliable source directory detection
- Use Join-Path for proper path construction
- Validate BUILD_TYPE against Debug/Release
- Fix CMake argument quoting
- Use Write-Error for error messages
harraiken requested review from harraiken 2025-10-10 19:30:46 +02:00
Owner

I will pull it down for a final test run to make sure everything works as expected and then get this merged.

I will pull it down for a final test run to make sure everything works as expected and then get this merged.
harraiken approved these changes 2025-10-10 20:17:12 +02:00
harraiken merged commit a7be533521 into master 2025-10-10 20:18:06 +02:00
Sign in to join this conversation.
No description provided.