CREATE_PROJECT: Use VcPkg manifests on MSVC >= 17

This commit is contained in:
Helco
2025-09-03 18:58:30 +02:00
committed by Helco
parent 78bb19d7f4
commit 2fc2ad76a3
+6 -2
View File
@@ -363,8 +363,12 @@ void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstrea
<< "\t<PropertyGroup>\n"
<< "\t\t<_PropertySheetDisplayName>" << setup.projectDescription << "_Global</_PropertySheetDisplayName>\n"
<< "\t\t<OutDir>$(Configuration)" << getMSVCArchName(arch) << "\\</OutDir>\n"
<< "\t\t<IntDir>$(Configuration)" << getMSVCArchName(arch) << "\\$(ProjectName)\\</IntDir>\n"
<< "\t</PropertyGroup>\n"
<< "\t\t<IntDir>$(Configuration)" << getMSVCArchName(arch) << "\\$(ProjectName)\\</IntDir>\n";
if (_msvcVersion.version >= 17 && setup.useVcpkg)
properties << "\t\t<VcpkgEnableManifest>true</VcpkgEnableManifest>\n";
properties << "\t</PropertyGroup>\n"
<< "\t<ItemDefinitionGroup>\n"
<< "\t\t<ClCompile>\n"
<< "\t\t\t<DisableLanguageExtensions>true</DisableLanguageExtensions>\n"