Files
SonicForgeStudio/native_bridge/debug/build_bridge.ps1

7 lines
315 B
PowerShell

$ErrorActionPreference = 'Stop'
cd 'C:/Users/locpham/SonicForgeStudio/native_bridge/build'
cmake -DCMAKE_CXX_FLAGS_RELEASE='/O2 /Ob2 /DNDEBUG /Zi' -DCMAKE_EXE_LINKER_FLAGS_RELEASE='/DEBUG' .
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
cmake --build . --config Release --target daw_vst_bridge
exit $LASTEXITCODE