From: Magnus Jacobsson Date: Sun, 4 Oct 2020 12:23:55 +0000 (+0200) Subject: Replace getopt subproject with vcpkg getopt lib for acyclic in MSBuild X-Git-Tag: 2.46.0~20^2^2~47^2~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c93d7184bac79897b046960998163ab8a1d60daf;p=graphviz Replace getopt subproject with vcpkg getopt lib for acyclic in MSBuild Towards https://gitlab.com/graphviz/graphviz/-/issues/1820. --- diff --git a/cmd/tools/acyclic.vcxproj b/cmd/tools/acyclic.vcxproj index a37675a07..ffe355941 100644 --- a/cmd/tools/acyclic.vcxproj +++ b/cmd/tools/acyclic.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 @@ -65,17 +65,20 @@ 4996 - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib true Console MachineX86 getopt.lib;cgraph.lib;ingraphs.lib;%(AdditionalDependencies) + + 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 @@ -83,7 +86,7 @@ 4996 - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib Console true true @@ -92,6 +95,9 @@ No getopt.lib;cgraph.lib;ingraphs.lib;%(AdditionalDependencies) + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll +