Skip to content

Commit 43fdb07

Browse files
committed
build: set C++ language standard to C++17 in Debug and Release configurations
Adds <LanguageStandard>stdcpp17</LanguageStandard> to both ClCompile sections to ensure consistent C++17 compilation across build types.
1 parent dcc7a3d commit 43fdb07

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ColorCop.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<ObjectFileName>.\Release/</ObjectFileName>
7373
<ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
7474
<WarningLevel>Level4</WarningLevel>
75+
<LanguageStandard>stdcpp17</LanguageStandard>
7576
</ClCompile>
7677
<ResourceCompile>
7778
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -100,6 +101,7 @@
100101
<ObjectFileName>.\Debug/</ObjectFileName>
101102
<ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
102103
<WarningLevel>Level4</WarningLevel>
104+
<LanguageStandard>stdcpp17</LanguageStandard>
103105
</ClCompile>
104106
<ResourceCompile>
105107
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>

0 commit comments

Comments
 (0)