Skip to content

Commit 9c64027

Browse files
committed
Add VCRuntime selfcontain
1 parent 0482623 commit 9c64027

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

installer/PowerToysSetupVNext/SilentFilesInUseBA/SilentFilesInUseBAFunction.vcxproj

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,31 @@
9292
</Link>
9393
</ItemDefinitionGroup>
9494

95+
<!-- C++ source compile-specific things for Debug/Release configurations -->
96+
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
97+
<ClCompile>
98+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
99+
<Optimization>Disabled</Optimization>
100+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
101+
</ClCompile>
102+
<Link>
103+
<GenerateDebugInformation>true</GenerateDebugInformation>
104+
</Link>
105+
</ItemDefinitionGroup>
106+
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
107+
<ClCompile>
108+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109+
<Optimization>MaxSpeed</Optimization>
110+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
111+
<FunctionLevelLinking>true</FunctionLevelLinking>
112+
<IntrinsicFunctions>true</IntrinsicFunctions>
113+
</ClCompile>
114+
<Link>
115+
<GenerateDebugInformation>true</GenerateDebugInformation>
116+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
117+
<OptimizeReferences>true</OptimizeReferences>
118+
</Link>
119+
</ItemDefinitionGroup>
120+
95121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
96122
</Project>

0 commit comments

Comments
 (0)