aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Andres Granados <joel.granados@gmail.com>2019-09-09 16:37:29 +0200
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2019-09-09 07:37:29 -0700
commit84e322738beb2fc64f90f05985413ae5420ebd8c (patch)
treedb42b9b6eed6e628bb5af65653ff7e0517235349 /tests
parentfdf02957533645069bbea7cd2ed85a3014b42cf3 (diff)
downloadpugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.zip
pugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.tar.gz
pugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.tar.bz2
Update nuget creation to VS2019 (#291)
Create visual studio projects that are vs2019 compliant. * nuget_build.ps1 : Introduce a new argument that will define how we implement the nuget build. For now we accept 201{9,7.5.3} as possible argument values. * pugixml_vs2019{,_static}.vcxproj : Add two visual studio projects that build pugi with the latest SDK and build tools * appveyor.yml - Add Visual Studio 2019 to build targets - Add Visual Studio 201{9,3,5} to build_scripts. And call nuget_build.ps1 with a new argument. - Add Visual Studio 2019 to the test_scripts.
Diffstat (limited to 'tests')
-rw-r--r--tests/autotest-appveyor.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/autotest-appveyor.ps1 b/tests/autotest-appveyor.ps1
index e3805c7..dfed8c5 100644
--- a/tests/autotest-appveyor.ps1
+++ b/tests/autotest-appveyor.ps1
@@ -23,6 +23,10 @@ foreach ($vs in $args)
$vsdevcmdarch = if ($arch -eq "x64") { "amd64" } else { "x86" }
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" "-arch=$vsdevcmdarch"
}
+ elseif ($vs -eq 19){
+ $vsdevcmdarch = if ($arch -eq "x64") { "amd64" } else { "x86" }
+ Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" "-arch=$vsdevcmdarch"
+ }
else
{
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio $vs.0\VC\vcvarsall.bat" $arch