Wireshark-dev: Re: [Wireshark-dev] Switch master and PD Windows builders to Visual Studio 2019?

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 11 Sep 2019 11:30:09 -0700
The master Windows 32-bit, 64-bit, and PD builders are now using Visual Studio 2019. I also upgraded them to Qt 5.12.5.

For VS 2017 and earlier, CMake let you append the target platform to the generator name, e.g. `cmake -G "Visual Studio 15 2017 Win64" ..`. For VS 2019 you have to specify an architecture using the "-A" flag, e.g. `cmake -G "Visual Studio 16 2019" -A x64 ..`.

Additionally, on the 32-bit builder I had to set the Platform environment variable to "Win32" in order for msbuild to work.


On 9/11/19 3:52 AM, Graham Bloice wrote:
> 
> 
> On Wed, 11 Sep 2019 at 11:31, Anders Broman via Wireshark-dev
> <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>> wrote:
> 
>     Hi,____
> 
>     C:\Program Files (x86)\Microsoft Visual
>     Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin>cmake
>     --version____
> 
>     cmake version 3.14.19060802-MSVC_2____
> 
>     __
> 
> 
> OK, that's good.
>  
> 
>      
> 
> 
> -- 
> Graham Bloice
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>