Skip to content

Commit d78b316

Browse files
committed
Set the UseDebugLibraries property by default in the project template
1 parent e2b71bb commit d78b316

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

GoogleTestAdapter/GoogleTestProjectTemplate/GoogleTest.vcxproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@
2828
<CharacterSet>Unicode</CharacterSet>
2929
</PropertyGroup>
3030
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32+
<UseDebugLibraries>true</UseDebugLibraries>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
35+
<UseDebugLibraries>true</UseDebugLibraries>
36+
</PropertyGroup>
37+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38+
<UseDebugLibraries>false</UseDebugLibraries>
39+
</PropertyGroup>
40+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
41+
<UseDebugLibraries>false</UseDebugLibraries>
42+
</PropertyGroup>
3143
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3244
<ImportGroup Label="ExtensionSettings" />
3345
<ImportGroup Label="Shared" />
@@ -113,4 +125,4 @@
113125
</ItemGroup>
114126
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
115127
<ImportGroup Label="ExtensionTargets" />
116-
</Project>
128+
</Project>

0 commit comments

Comments
 (0)