/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Cpp.Build.targets
16 строк
844 B
Boliang Zhang
Migrate spdlog from submodule to vcpkg (#48039)
27 май 2026, 10:45
Не верифицирован
27 май 2026, 10:45
8a7933c
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project> <!-- PowerToys global C++ post-targets. Wired in via <ForceImportAfterCppTargets> in Cpp.Build.props so MSBuild loads this file AFTER Microsoft.Cpp.targets for every .vcxproj. Conditionally imports vcpkg.targets to hook ClCompile into vcpkg's VcpkgInstallManifestDependencies target so spdlog headers are auto-discovered on the include path and spdlog.lib is auto-linked. vcpkg.props is imported in Cpp.Build.props (before Microsoft.Cpp.props); vcpkg.targets needs the matching "after" hook here. --> <Import Project="$(VcpkgRoot)\scripts\buildsystems\msbuild\vcpkg.targets" Condition="'$(MSBuildProjectExtension)' == '.vcxproj' and '$(VcpkgEnabled)' == 'true' and Exists('$(VcpkgRoot)\scripts\buildsystems\msbuild\vcpkg.targets')" /> </Project>