From 4fb225608532e9fb2fd2f5f1dbe9ec092cdc7c93 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Wed, 3 Jun 2020 19:31:28 -0700 Subject: [vcpkg] Allow CI to pass in all relevant directories and remove use of symbolic links (#11483) --- scripts/buildsystems/msbuild/vcpkg.targets | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'scripts/buildsystems/msbuild') diff --git a/scripts/buildsystems/msbuild/vcpkg.targets b/scripts/buildsystems/msbuild/vcpkg.targets index f956a4f33..de7334d09 100644 --- a/scripts/buildsystems/msbuild/vcpkg.targets +++ b/scripts/buildsystems/msbuild/vcpkg.targets @@ -54,7 +54,13 @@ Debug Release $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), .vcpkg-root))\ - $(VcpkgRoot)installed\$(VcpkgTriplet)\ + + $(VcpkgRoot) + $(VcpkgRootSanitized)\ + $(VcpkgCurrentInstalledDir) + $(VcpkgRootSanitized)installed\$(VcpkgTriplet)\ + $(VcpkgCurrentInstalledDirSanitized)\ true @@ -63,21 +69,21 @@ - %(AdditionalDependencies);$(VcpkgCurrentInstalledDir)debug\lib\*.lib - %(AdditionalDependencies);$(VcpkgCurrentInstalledDir)lib\*.lib - %(AdditionalLibraryDirectories);$(VcpkgCurrentInstalledDir)lib;$(VcpkgCurrentInstalledDir)lib\manual-link - %(AdditionalLibraryDirectories);$(VcpkgCurrentInstalledDir)debug\lib;$(VcpkgCurrentInstalledDir)debug\lib\manual-link + %(AdditionalDependencies);$(VcpkgCurrentInstalledDirSanitized)debug\lib\*.lib + %(AdditionalDependencies);$(VcpkgCurrentInstalledDirSanitized)lib\*.lib + %(AdditionalLibraryDirectories);$(VcpkgCurrentInstalledDirSanitized)lib;$(VcpkgCurrentInstalledDirSanitized)lib\manual-link + %(AdditionalLibraryDirectories);$(VcpkgCurrentInstalledDirSanitized)debug\lib;$(VcpkgCurrentInstalledDirSanitized)debug\lib\manual-link - %(AdditionalIncludeDirectories);$(VcpkgCurrentInstalledDir)include + %(AdditionalIncludeDirectories);$(VcpkgCurrentInstalledDirSanitized)include - %(AdditionalIncludeDirectories);$(VcpkgCurrentInstalledDir)include + %(AdditionalIncludeDirectories);$(VcpkgCurrentInstalledDirSanitized)include - + @@ -87,11 +93,11 @@ File="$(TLogLocation)$(ProjectName).write.1u.tlog" Lines="^$(TargetPath);$([System.IO.Path]::Combine($(ProjectDir),$(IntDir)))vcpkg.applocal.log" Encoding="Unicode"/> -- cgit v1.2.3