]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Use DefaultPlatformToolset for .vcxproj files
authorWolfgang Stöggl <c72578@yahoo.de>
Tue, 10 Sep 2019 10:07:14 +0000 (12:07 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 10 Sep 2019 11:19:26 +0000 (13:19 +0200)
commit292cb415bef4b50a6d8a8ba7578b324c6c8966f2
tree2c49fd3b218bbcd069247a9c300c9a0cd7ea3973
parent7aeeb69bf663fd0089e3a9cd72694691a1cfb82f
Use DefaultPlatformToolset for .vcxproj files

- Use $(DefaultPlatformToolset) for the PlatformToolset
  instead of v140. This allows to use the associated PlatformToolset
  automatically for each version of Visual Studio:
  v140 for VS2015, v141 for VS2017, v142 for VS2019.
  However, a developer can easily target projects to a desired,
  different PlatformToolset.
- Set ToolsVersion="Current" instead of ToolsVersion="14.0"
- Strings were replaced in .vcxproj files the following way:
  git grep -l 'v140' -- '*.vcxproj' | \
    xargs sed -i 's/v140/$(DefaultPlatformToolset)/g'
  git grep -l '14.0' -- '*.vcxproj' | xargs sed -i 's/14.0/Current/g'
win32/librrd-8.vcxproj
win32/rrdcgi.vcxproj
win32/rrdtool.vcxproj
win32/rrdupdate.vcxproj