From: Magnus Jacobsson Date: Sun, 4 Oct 2020 12:28:32 +0000 (+0200) Subject: Replace getopt subproject with vcpkg getopt lib for tred in MSBuild X-Git-Tag: 2.46.0~20^2^2~47^2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45a3caa93176de4287e8535dedb849958db73bf6;p=graphviz Replace getopt subproject with vcpkg getopt lib for tred in MSBuild Towards https://gitlab.com/graphviz/graphviz/-/issues/1820. --- diff --git a/cmd/tools/tred.vcxproj b/cmd/tools/tred.vcxproj index ce0dac40d..e52db4233 100644 --- a/cmd/tools/tred.vcxproj +++ b/cmd/tools/tred.vcxproj @@ -62,16 +62,19 @@ EditAndContinue true 4996 - $(SolutionDir)windows\include;$(SolutionDir)windows\getopt;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) true Console MachineX86 - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib getopt.lib;cgraph.lib;gvc.lib;ingraphs.lib;%(AdditionalDependencies) + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll + @@ -80,7 +83,7 @@ Level4 true 4996 - $(SolutionDir)windows\include;$(SolutionDir)windows\getopt;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) No @@ -89,9 +92,12 @@ true MachineX86 - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib getopt.lib;cgraph.lib;gvc.lib;ingraphs.lib;%(AdditionalDependencies) + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll +