Skip to content

Commit dd6c950

Browse files
authored
Update teapot.vcxproj
1 parent 7d37b0d commit dd6c950

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

teapot.vcxproj

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemDefinitionGroup>
4+
<ClCompile>
5+
<AdditionalOptions>/std:c++20 %(AdditionalOptions)</AdditionalOptions>
6+
<LanguageStandard>stdcpp20</LanguageStandard>
7+
</ClCompile>
8+
</ItemDefinitionGroup>
9+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
10+
<ClCompile>
11+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
12+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
13+
<WarningLevel>Level3</WarningLevel>
14+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
15+
<Optimization>Disabled</Optimization>
16+
<!-- LanguageStandard specification here is redundant if the general ItemDefinitionGroup above is used, but can be kept for clarity -->
17+
<LanguageStandard>stdcpp20</LanguageStandard>
18+
</ClCompile>
319
<ItemGroup Label="ProjectConfigurations">
420
<ProjectConfiguration Include="Debug|Win32">
521
<Configuration>Debug</Configuration>
@@ -147,9 +163,4 @@
147163
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
148164
<ImportGroup Label="ExtensionTargets">
149165
</ImportGroup>
150-
<ItemGroup>
151-
<ClCompile>
152-
<AdditionalOptions>/std:c++20 %(AdditionalOptions)</AdditionalOptions>
153-
</ClCompile>
154-
</ItemGroup>
155166
</Project>

0 commit comments

Comments
 (0)