Skip to content

Commit ee48838

Browse files
committed
Merge pull request #153 from super626/v3
Modify librecast platform tool set
2 parents 0d032dc + d741eff commit ee48838

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

recast/proj.win32/librecast.vcxproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,19 @@
5959
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
6060
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
6161
<ConfigurationType>StaticLibrary</ConfigurationType>
62-
<UseDebugLibraries>true</UseDebugLibraries>
63-
<PlatformToolset>v120</PlatformToolset>
6462
<CharacterSet>Unicode</CharacterSet>
63+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
64+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
65+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0'">v140</PlatformToolset>
66+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v140_xp</PlatformToolset>
6567
</PropertyGroup>
6668
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
6769
<ConfigurationType>StaticLibrary</ConfigurationType>
68-
<UseDebugLibraries>false</UseDebugLibraries>
69-
<PlatformToolset>v120</PlatformToolset>
70-
<WholeProgramOptimization>false</WholeProgramOptimization>
7170
<CharacterSet>Unicode</CharacterSet>
71+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
72+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
73+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0'">v140</PlatformToolset>
74+
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v140_xp</PlatformToolset>
7275
</PropertyGroup>
7376
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
7477
<ImportGroup Label="ExtensionSettings">

0 commit comments

Comments
 (0)