From c21893b4dc68430ebcf028ffdb190e586fc3d639 Mon Sep 17 00:00:00 2001 From: "Dr. Frank Heimes" <20513035+FrankHeimes@users.noreply.github.com> Date: Sun, 5 Jul 2020 21:39:14 +0200 Subject: [vcpkg integrate] Clean up vcpkg.target file (#4608) Use IncludePath and LibraryPath propertiesThese tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code. This change includes my changes from #4454. Co-authored-by: Nicole Mazzuca --- scripts/buildsystems/msbuild/vcpkg.targets | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'scripts') diff --git a/scripts/buildsystems/msbuild/vcpkg.targets b/scripts/buildsystems/msbuild/vcpkg.targets index 7fbc8cc09..a55dc2cf8 100644 --- a/scripts/buildsystems/msbuild/vcpkg.targets +++ b/scripts/buildsystems/msbuild/vcpkg.targets @@ -57,6 +57,7 @@ Debug Release + debug\ $(VcpkgRoot)\ $(VcpkgCurrentInstalledDir)\ $(VcpkgManifestRoot)\ @@ -68,10 +69,8 @@ - %(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);$(VcpkgCurrentInstalledDir)$(VcpkgConfigSubdir)lib\*.lib + %(AdditionalLibraryDirectories);$(VcpkgCurrentInstalledDir)$(VcpkgConfigSubdir)lib;$(VcpkgCurrentInstalledDir)$(VcpkgConfigSubdir)lib\manual-link %(AdditionalIncludeDirectories);$(VcpkgCurrentInstalledDir)include @@ -87,9 +86,10 @@ - - - + + + @@ -101,12 +101,8 @@ - - - -- cgit v1.2.3