VS: Add option for per-target PlatformToolset

Add a `VS_PLATFORM_TOOLSET` target property to set `PlatformToolset` in
the `.vcxproj` file for specific targets.  Document that this is safe
only when the named toolset uses the same underlying compiler as the
primary toolset.

Fixes: #17429
This commit is contained in:
Julien Jemine
2020-04-28 16:55:03 +02:00
committed by Brad King
parent 73f81c5070
commit 197b4cbe18
7 changed files with 68 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
vs-platform-toolset
-------------------
* The :prop_tgt:`VS_PLATFORM_TOOLSET` target property was added to tell
:ref:`Visual Studio Generators` for VS 2010 and above to override
the platform toolset.