-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[appveyor] Added vs2017 to the build images #34
Conversation
Oh wow, the VS2017 port is this simple? Thank you! I'll try to reduce the amount of builds a bit, though -- MinGW build takes significant amount of time and it doesn't need to be run twice as it has no dependency on installed VS at all. |
Hmm -- there is something suspicious about MSVC 2017. Both 2015 and 2017 report themselves as "version 19" or "version 14", depending on where one looks: 2015 says:
while 2017 says:
The thing is that my CMake buildscripts are enabling some ugly workarounds for 2015 ("14") which I hope are resolved with 2017 ("15"), but now I have no way to distinguish between them, as there is no significant version difference. I need to investigate what's going on here. |
Concerning this issue - I've tried my best to detect installed msvc version with vswhere but the current state of the things and microsoft/vswhere#62 makes it's almost unusable with legacy Visual Studio 2015 image. However, the good news is: Visual Studio 2017 image contains both legacy and newer build tools and with the minor workarounds, it is possible to select correct vcvarsall.bat and such. Maybe even parametrise from the appveyor.yml and add x86 builds alongside. More on this: |
I think the IDE and compiler are versioned separately - not sure, though. |
After some investigation I found out that MSVC 2017 presents itself as version The AppVeyor config was merged with some modifications as 3c2ded3 -- hope that's okay. I'll now proceed with integrating your changes in the other projects. Thanks a lot for this! |
No description provided.