Skip to content

Commit

Permalink
In the installer, create the build directory if it doesn't exist.
Browse files Browse the repository at this point in the history
With the PortAudio dependency managed by vcpkg, it is now possible
to build everything end-to-end, including the installer, from an
empty build directory.
  • Loading branch information
dechamps committed Oct 27, 2018
1 parent ff24fce commit 8e70c7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions find_visual_studio.ps1
Expand Up @@ -6,6 +6,8 @@ $InstallationPath = & "$($ProgramFiles)\Microsoft Visual Studio\Installer\vswher

$RedistVersion = @(Get-ChildItem "$($InstallationPath)\VC\Redist\MSVC")[0]

New-Item -ItemType directory -Force build

&{
Write-Output '// FILE AUTOGENERATED BY find_visual_studio.ps1'
Write-Output "#define VISUAL_STUDIO_INSTALLATION_PATH ""$($InstallationPath)"""
Expand Down

0 comments on commit 8e70c7f

Please sign in to comment.