Skip to content

Commit

Permalink
Enable USE_PROD_CLSIDS switch in CommonCore (microsoft#4865)
Browse files Browse the repository at this point in the history
## Change
Adds a `UseProdCLSIDs` MSBuild property to `USE_PROD_CLSIDS`
preprocessor definition to CommonCore.
  • Loading branch information
JohnMcPMS authored Oct 10, 2024
1 parent 01eae6e commit 8d6f17d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AppInstallerCommonCore/AppInstallerCommonCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@
<AdditionalOptions>%(AdditionalOptions) /permissive- /D _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(UseProdCLSIDs)'=='true'">
<ClCompile>
<PreprocessorDefinitions>USE_PROD_CLSIDS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<Optimization>Disabled</Optimization>
Expand Down

0 comments on commit 8d6f17d

Please sign in to comment.