2017-06-18 21:11:54 -07:00
|
|
|
function Run-Command
|
|
|
|
{
|
|
|
|
Invoke-Expression $args[0]
|
|
|
|
if ($LastExitCode) { exit $LastExitCode }
|
|
|
|
}
|
|
|
|
|
2017-06-15 11:32:46 +03:00
|
|
|
Push-Location
|
|
|
|
$scriptdir = Split-Path $MyInvocation.MyCommand.Path
|
|
|
|
cd $scriptdir
|
|
|
|
|
2017-06-18 21:11:54 -07:00
|
|
|
Run-Command "msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo"
|
|
|
|
Run-Command "msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo"
|
2017-06-15 11:32:46 +03:00
|
|
|
Write-NuGetPackage nuget.autopkg
|
|
|
|
|
|
|
|
Pop-Location
|