|
1 |
| -<!-- |
| 1 | +<!-- |
2 | 2 | SPDX-FileCopyrightText: © 2019 Team CharLS
|
3 | 3 | SPDX-License-Identifier: BSD-3-Clause
|
4 | 4 | -->
|
|
47 | 47 | <MultiProcessorCompilation>true</MultiProcessorCompilation>
|
48 | 48 |
|
49 | 49 | <!-- Explicit define that all projects are compiled according the draft C++23 standard -->
|
50 |
| - <LanguageStandard>stdcpp23</LanguageStandard> |
51 |
| - <UseStandardPreprocessor>true</UseStandardPreprocessor> <!-- Needed as stdcpp20 doesn't enable it by default. --> |
| 50 | + <LanguageStandard>stdcpplatest</LanguageStandard> |
| 51 | + <UseStandardPreprocessor>true</UseStandardPreprocessor> <!-- Needed as stdcpplatest doesn't enable it by default. --> |
52 | 52 |
|
53 | 53 | <!-- To ensure high quality C++ code use Warning level 4 and treat warnings as errors to ensure warnings are fixed promptly. -->
|
54 | 54 | <WarningLevel>Level4</WarningLevel>
|
|
179 | 179 | <PropertyGroup Condition="'$(Configuration)'=='Release'">
|
180 | 180 | <UseDebugLibraries>false</UseDebugLibraries>
|
181 | 181 | <LinkIncremental>false</LinkIncremental>
|
182 |
| - <WholeProgramOptimization>true</WholeProgramOptimization> |
183 |
| - |
184 | 182 | <RunCodeAnalysis>true</RunCodeAnalysis>
|
185 | 183 | <EnableCppCoreCheck>true</EnableCppCoreCheck>
|
186 | 184 | <EnableMicrosoftCodeAnalysis>true</EnableMicrosoftCodeAnalysis>
|
|
198 | 196 | <UseFullPaths>false</UseFullPaths>
|
199 | 197 | <FunctionLevelLinking>true</FunctionLevelLinking>
|
200 | 198 | <IntrinsicFunctions>true</IntrinsicFunctions>
|
| 199 | + <WholeProgramOptimization>true</WholeProgramOptimization> |
| 200 | + |
| 201 | + <!-- Enable Optimize Global Data (/Gw). off by default --> |
| 202 | + <AdditionalOptions>/Gw /Zc:checkGwOdr %(AdditionalOptions)</AdditionalOptions> |
201 | 203 | </ClCompile>
|
202 | 204 | <Link>
|
203 | 205 | <EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
0 commit comments