diff options
| author | Seba Gamboa <me@sagmor.com> | 2020-03-10 10:15:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 10:15:27 -0700 |
| commit | 7ffa425e1db8b0c3edf9c50f2f3a0f25a324541d (patch) | |
| tree | 7afc282083503e231176c163c7146ca6fb5baed4 /scripts/boost | |
| parent | 264982215ce70097f2f4dbfcd3da9bce19b06b84 (diff) | |
| download | vcpkg-7ffa425e1db8b0c3edf9c50f2f3a0f25a324541d.tar.gz vcpkg-7ffa425e1db8b0c3edf9c50f2f3a0f25a324541d.zip | |
[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>
Diffstat (limited to 'scripts/boost')
| -rw-r--r-- | scripts/boost/generate-ports.ps1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/boost/generate-ports.ps1 b/scripts/boost/generate-ports.ps1 index ec32e53fb..b1cf08377 100644 --- a/scripts/boost/generate-ports.ps1 +++ b/scripts/boost/generate-ports.ps1 @@ -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()
{
|
