[boost-vcpkg-helpers] Pass boost port creation output folder as a parameter (#8168)

* Allow option to pass desired ports directory to boost's generate ports script

* Restore the changes and resolve the conflicts

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: PhoebeHui <v-phma@microsoft.com>
This commit is contained in:
Seba Gamboa 2020-03-10 10:15:27 -07:00 committed by GitHub
parent 264982215c
commit 7ffa425e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,15 @@
[CmdletBinding()]
param (
$libraries = @(),
$version = "1.72.0"
$version = "1.72.0",
$portsDir = $null
)
$scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition
$portsDir = "$scriptsDir/../../ports"
if ($null -eq $portsDir)
{
$portsDir = "$scriptsDir/../../ports"
}
function TransformReference()
{