From: Magnus Jacobsson Date: Sun, 4 Oct 2020 12:24:11 +0000 (+0200) Subject: Replace getopt subproject with vcpkg getopt lib for bcomps in MSBuild X-Git-Tag: 2.46.0~20^2^2~47^2~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b7782b93b75ef3a3b67ee4ae99b62a4c2de7fa8;p=graphviz Replace getopt subproject with vcpkg getopt lib for bcomps in MSBuild Towards https://gitlab.com/graphviz/graphviz/-/issues/1820. --- diff --git a/cmd/tools/bcomps.vcxproj b/cmd/tools/bcomps.vcxproj index 2985b09de..7e992e616 100644 --- a/cmd/tools/bcomps.vcxproj +++ b/cmd/tools/bcomps.vcxproj @@ -53,7 +53,7 @@ Disabled - $(SolutionDir)windows\include;$(SolutionDir)windows\getopt;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true EnableFastChecks @@ -66,16 +66,19 @@ getopt.lib;cgraph.lib;ingraphs.lib;%(AdditionalDependencies) - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib true Console MachineX86 + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll + - $(SolutionDir)windows\include;$(SolutionDir)windows\getopt;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph NDEBUG;_CONSOLE;%(PreprocessorDefinitions) Level4 @@ -84,7 +87,7 @@ getopt.lib;cgraph.lib;ingraphs.lib;%(AdditionalDependencies) - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib No Console true @@ -92,6 +95,9 @@ MachineX86 + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll +