# 프로그램별 오디오 캡처 보조 프로그램 빌드 (Windows 전용) # # 필요: Visual Studio 2022 Build Tools (C++ 데스크톱 워크로드) + CMake # winget install Microsoft.VisualStudio.2022.BuildTools # winget install Kitware.CMake # # 사용: powershell -ExecutionPolicy Bypass -File native\process_loopback\build.ps1 $ErrorActionPreference = "Stop" $here = Split-Path -Parent $MyInvocation.MyCommand.Path $build = Join-Path $here "build" cmake -S $here -B $build -A x64 cmake --build $build --config Release $out = Join-Path $here "..\..\src\livesub\resources\bin\livesub_capture.exe" if (Test-Path $out) { Write-Host "빌드 완료: $out" -ForegroundColor Green } else { Write-Error "빌드는 끝났지만 결과물을 찾지 못했습니다." }