Automatically select the default platform toolset for examples in MSVC builds

This commit is contained in:
Cameron Cawley
2026-01-17 18:19:45 +00:00
committed by Sam Lantinga
parent 4dcf886322
commit 3681a94c66
32 changed files with 37 additions and 66 deletions

View File

@@ -13,8 +13,7 @@ def generate(category, example_name, c_source_file):
<PropertyGroup Label="Globals">
<ProjectGuid>{{{guid}}}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.Default.props" />
<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.props" />
<Import Project="$(SolutionDir)\\examples\\Examples.props" />
<ItemGroup>
<None Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\README.txt" />
<ClCompile Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\{c_source_file}" />