Misc: Clean up Visual Studio project files
authorChris Dickens <christopher.a.dickens@gmail.com>
Tue, 21 Jan 2020 23:38:56 +0000 (15:38 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Tue, 21 Jan 2020 23:38:56 +0000 (15:38 -0800)
commitde4a59af87bf0b6df04d9f1c9439c957681f5e53
tree7857351cd595eaea3459dadda4bfe1a3008a892e
parentf90d07613c7a86eca85df9f8209ce586ce70ecf6
Misc: Clean up Visual Studio project files

Commit a9b34d170a ("Adding support for ARM & ARM64 Windows Platform")
introduced a dependency on a particular version of the Windows 10 SDK
for *all* platforms. This is particularly annoying for most users who
will only be building for Windows. Fix this by specifying the SDK
dependency only for the ARM/ARM64 platforms and bump to the latest.

Commit 77037c4dd6 ("Adds /utf-8 to compile options") added this compiler
option to all versions of the Visual Studio project files. This results
in a number of warnings with the older versions that don't recognize
this option. Fix this by keeping this option only for 2015 and newer.

Explicitly specify library dependencies for non-static targets. With a
small change in the UsbDk backend we can completely remove all
depenencies other than kernel32.lib.

Lastly, remove the 'MinimalRebuild' option for 2015 and newer project
files as this option is now deprecated and results in a warning for each
project.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
33 files changed:
.gitignore
libusb/os/windows_usbdk.c
libusb/version_nano.h
msvc/fxload_2013.vcxproj
msvc/fxload_2015.vcxproj
msvc/fxload_2017.vcxproj
msvc/getopt_2013.vcxproj
msvc/getopt_2017.vcxproj
msvc/getopt_sources
msvc/hotplugtest_2013.vcxproj
msvc/hotplugtest_2015.vcxproj
msvc/hotplugtest_2017.vcxproj
msvc/libusb_2013.sln
msvc/libusb_2015.sln
msvc/libusb_2017.sln
msvc/libusb_dll_2013.vcxproj
msvc/libusb_dll_2015.vcxproj
msvc/libusb_dll_2017.vcxproj
msvc/libusb_sources
msvc/libusb_static_2013.vcxproj
msvc/libusb_static_2017.vcxproj
msvc/listdevs_2013.vcxproj
msvc/listdevs_2015.vcxproj
msvc/listdevs_2017.vcxproj
msvc/stress_2013.vcxproj
msvc/stress_2015.vcxproj
msvc/stress_2017.vcxproj
msvc/testlibusb_2013.vcxproj
msvc/testlibusb_2015.vcxproj
msvc/testlibusb_2017.vcxproj
msvc/xusb_2013.vcxproj
msvc/xusb_2015.vcxproj
msvc/xusb_2017.vcxproj