Skip to content

Improve compatibility with VS 2015 and VS 2017

Nirbheek Chauhan requested to merge nirbheek/cerbero:improve-vs-searching into master

commit d1c6d3a0:

gst-plugins-bad: Disable d3d11 plugin with VS 2015
d3d11 plugin needs VS 2017 or newer, so just disable it when building
with older Visual Studio versions.

commit 5274f6c6:

cerbero/vs: Don't pass -sort to vswhere
-sort is only available starting with Visual Studio Installer 2019.
Sort manually by version.

Closes #267 (closed)

commit b5867931:

cerbero/vs: Fallback to manual searching when vswhere fails
If you only have Visual Studio Build Tools installed, vswhere.exe will
be installed by the installer, but it won't find any Visual Studio
instances since it can't find Build Tools installs.

So allow it to fail and fall back to manual searching.

commit 301403e4:

cerbero/vs: Also look for Visual Studio 2017 Build Tools

Merge request reports