Autoretarget Visual Studio 2017. Compilation still fails though

This commit is contained in:
prodea2 2017-03-14 22:33:07 +02:00
parent 199c9fb90d
commit 27ffdf2ee9
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<!-- desmume customization: set PlatformToolset to an uptodate choice for vs2015 and leave it to the default vs2010 toolset for vs2010 -->
<!-- NOTE: the location of this hack is important or else we break resource editing, intellisense, and ctrl+f7 in vs2010 either; or it doesnt work for vs2015. weird. -->
<PropertyGroup Condition="'$(VisualStudioVersion)' == '15.0'" Label="Configuration">
<PlatformToolset>v141_xp</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'" Label="Configuration">
<PlatformToolset>v140_xp</PlatformToolset>
</PropertyGroup>