Skip to content

Commit

Permalink
Switching to platform toolset v142 to work around VS2022 compiler bugs
Browse files Browse the repository at this point in the history
Enabling AVX so switching to clang toolset builds. Shouldn't be a big deal requiring AVX in 2023.
  • Loading branch information
richgel999 committed Mar 30, 2023
1 parent 7f5e0ad commit ca51858
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions basisu.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down Expand Up @@ -152,6 +152,7 @@
<FloatingPointModel>Fast</FloatingPointModel>
<OmitFramePointers>true</OmitFramePointers>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand Down

0 comments on commit ca51858

Please sign in to comment.