mirror of
https://github.com/sal063/AC6_recomp
synced 2026-09-01 02:01:45 -04:00
19 lines
523 B
PowerShell
19 lines
523 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Configure the rexglue-sdk CMake project.
|
|
.NOTES
|
|
Copyright (c) 2026 Tom Clay <tomc@tctechstuff.com>
|
|
All rights reserved.
|
|
Licensed under the BSD 3-Clause License.
|
|
See LICENSE file in the project root for full license text.
|
|
#>
|
|
function Invoke-ReXConfigure {
|
|
[CmdletBinding()]
|
|
param()
|
|
|
|
$preset = Get-ReXPreset
|
|
Write-Host "=== Configuring with preset: $preset ==="
|
|
cmake --preset $preset
|
|
if ($LASTEXITCODE -ne 0) { throw "cmake configure failed (exit $LASTEXITCODE)" }
|
|
}
|