From 3df7e17162306c547461ee4eff77883aacbd0a6c Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 4 Oct 2020 14:28:03 +0200 Subject: [PATCH] Replace getopt subproject with vcpkg getopt lib for nop in MSBuild Towards https://gitlab.com/graphviz/graphviz/-/issues/1820. --- cmd/tools/nop.vcxproj | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/cmd/tools/nop.vcxproj b/cmd/tools/nop.vcxproj index b8d06587d..8657a1db5 100644 --- a/cmd/tools/nop.vcxproj +++ b/cmd/tools/nop.vcxproj @@ -62,16 +62,19 @@ EditAndContinue true 4996 - $(SolutionDir)windows\include;$(SolutionDir)windows\getopt;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;%(AdditionalIncludeDirectories) + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;%(AdditionalIncludeDirectories) true Console MachineX86 - $(OutDir);$(SolutionDir)windows\getopt + $(OutDir);$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\lib getopt.lib;cgraph.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;%(AdditionalIncludeDirectories) + $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;%(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;ingraphs.lib;%(AdditionalDependencies) + + copy $(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\bin\getopt.dll $(OutDir)getopt.dll + -- 2.40.0