commit 8d6f17dc75c22de6c4e4e751804d203924351967
parent 01eae6e60ec165733c79806f72f86063c430dfaa
Author: JohnMcPMS <johnmcp@microsoft.com>
Date: Thu, 10 Oct 2024 16:06:39 -0700
Enable USE_PROD_CLSIDS switch in CommonCore (#4865)
## Change
Adds a `UseProdCLSIDs` MSBuild property to `USE_PROD_CLSIDS`
preprocessor definition to CommonCore.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/AppInstallerCommonCore/AppInstallerCommonCore.vcxproj b/src/AppInstallerCommonCore/AppInstallerCommonCore.vcxproj
@@ -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>