Merge pull request #49 from pal1000/work

Autoretarget Visual Studio 2017. Compilation still fails though
This commit is contained in:
zeromus 2017-03-14 18:24:11 -05:00 committed by GitHub
commit 3b6a5168c2
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>