Changeset 16223 for trunk


Ignore:
Timestamp:
10/09/18 17:28:06 (11 months ago)
Author:
jkarder
Message:

#2951: updated build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.ps1

    r16221 r16223  
    22$programFilesX86Dir = ($Env:ProgramFiles, ${Env:ProgramFiles(x86)})[[bool]${Env:ProgramFiles(x86)}]
    33$locations = @(
    4   [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Enterprise", "MSBuild", "15.0", "Bin", "amd64")
    54  [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Enterprise", "MSBuild", "15.0", "Bin")
    6   [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Community", "MSBuild", "15.0", "Bin", "amd64")
    75  [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "Community", "MSBuild", "15.0", "Bin")
    8   [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "BuildTools", "MSBuild", "15.0", "Bin", "amd64"),
    96  [System.IO.Path]::Combine($programFilesX86Dir, "Microsoft Visual Studio", "2017", "BuildTools", "MSBuild", "15.0", "Bin")
    107)
     
    8784        $solution.FullName,
    8885        "/t:Clean",
    89         "/p:Configuration=`"$config`",Platform=`"$([uri]::EscapeDataString($platform))`"",
     86        "/p:Configuration=`"$config`",Platform=`"$platform`"",
    9087        "/m", "/nologo", "/verbosity:q", "/clp:ErrorsOnly"
    9188      )
     
    9794  Foreach ($slnIndex in $slnIndices) {
    9895    $solution = $slnFiles[$slnIndex]
    99     "Building `"$($solution.Name)`" ..."
     96    "Building `"$($solution.Name)`" ($config|$platform) ..."
    10097    $args = @(
    10198      $solution.FullName,
    10299      "/t:Build",
    103       "/p:Configuration=`"$config`",Platform=`"$([uri]::EscapeDataString($platform))`"",
     100      "/p:Configuration=`"$config`",Platform=`"$platform`"",
    104101      "/m", "/nologo", "/verbosity:q", "/clp:ErrorsOnly"
    105102    )
Note: See TracChangeset for help on using the changeset viewer.