From 5ce75d222b4df21c853e4eb4fbebb5707f896cc4 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 12 Dec 2021 13:35:32 +0100 Subject: [PATCH] gvmap: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit that removes the common/globals.h symbols from the gvc.def file would otherwise cause errors like this: gvmap.obj : error LNK2001: unresolved external symbol _Verbose [C:\Users\magja\graphviz\cmd\gvmap\gvmap.vcxproj] Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- cmd/gvmap/gvmap.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gvmap/gvmap.vcxproj b/cmd/gvmap/gvmap.vcxproj index 6cdb7a107..f1b0a691e 100644 --- a/cmd/gvmap/gvmap.vcxproj +++ b/cmd/gvmap/gvmap.vcxproj @@ -52,7 +52,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -75,7 +75,7 @@ $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) Level4 true -- 2.40.0