Skip to content

Commit

Permalink
get-dependencies_win.ps1: Path fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Aug 11, 2024
1 parent c48b16a commit cfa80cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions get-dependencies_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ function Get-ScriptDirectory
$ScriptRoot = Get-ScriptDirectory;
Write-Output "ScriptRoot=$($ScriptRoot)"

# Copy Visual Studio-specific config file templates from "platform\windows" directory to the repo root
# Copy Visual Studio-specific config file templates from "platforms\windows" directory to the repo root
If ( -not (Test-Path (Join-Path "$($ScriptRoot)" "CMakeSettings.json") ) )
{
Write-Output "Copying template: CMakeSettings.json"
Copy-Item (Join-Path "$($ScriptRoot)" "platform\windows\CMakeSettings.json") -Destination "$($ScriptRoot)"
Copy-Item (Join-Path "$($ScriptRoot)" "platforms\windows\CMakeSettings.json") -Destination "$($ScriptRoot)"
}
If ( -not (Test-Path (Join-Path "$($ScriptRoot)" "launch.vs.json") ) )
{
Write-Output "Copying template: launch.vs.json"
Copy-Item (Join-Path "$($ScriptRoot)" "platform\windows\launch.vs.json") -Destination "$($ScriptRoot)"
Copy-Item (Join-Path "$($ScriptRoot)" "platforms\windows\launch.vs.json") -Destination "$($ScriptRoot)"
}

# Create build-dir vcpkg overlay folders
Expand Down

0 comments on commit cfa80cc

Please sign in to comment.