From: Magnus Jacobsson Date: Sun, 2 Jan 2022 21:11:48 +0000 (+0100) Subject: plugin/dot_layout: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~77^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96e23233796d6195cf30ba69f0a9f13c96967577;p=graphviz plugin/dot_layout: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes to be controlled by the GVDLL symbol in gvplugin_dot_layout.c. Without this change, errors like this would occur: EXEC : error : failed to resolve gvplugin_dot_layout_LTX_library in C:\Users\magja\graphviz\Debug\Graphviz\bin\gvplugin_dot_layout.dll Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/plugin/dot_layout/gvplugin_dot_layout.vcxproj b/plugin/dot_layout/gvplugin_dot_layout.vcxproj index 202a06aaf..e107f50f3 100644 --- a/plugin/dot_layout/gvplugin_dot_layout.vcxproj +++ b/plugin/dot_layout/gvplugin_dot_layout.vcxproj @@ -52,6 +52,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -72,6 +73,7 @@ $(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) Level4 true