From: Magnus Jacobsson Date: Sun, 12 Dec 2021 14:51:16 +0000 (+0100) Subject: lib/edgepaint: MSBuild: define GVDLL in edgepaintlib project file X-Git-Tag: 3.0.0~129^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2676f0587702be1a37f395f873175f3a5cf2a995;p=graphviz lib/edgepaint: MSBuild: define GVDLL in edgepaintlib project file An upcoming commit will change lab_gamut.h to use the GVDLL symbol to enable storage-class attributes. This change ensures that the lab_gamut symbols will continute to be declared with the dllimport attribute. Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- diff --git a/lib/edgepaint/edgepaintlib.vcxproj b/lib/edgepaint/edgepaintlib.vcxproj index 90814182e..afc59a1ef 100644 --- a/lib/edgepaint/edgepaintlib.vcxproj +++ b/lib/edgepaint/edgepaintlib.vcxproj @@ -55,7 +55,7 @@ Disabled $(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - _DEBUG;_LIB;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -71,7 +71,7 @@ MaxSpeed true $(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) true Level4