From 6b7782b93b75ef3a3b67ee4ae99b62a4c2de7fa8 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 4 Oct 2020 14:24:11 +0200 Subject: [PATCH] Replace getopt subproject with vcpkg getopt lib for bcomps in MSBuild Towards https://gitlab.com/graphviz/graphviz/-/issues/1820. --- cmd/tools/bcomps.vcxproj | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 + -- 2.40.0