From: Magnus Jacobsson Date: Mon, 3 Jan 2022 06:20:54 +0000 (+0100) Subject: xdot: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~80^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d68fc8b7a50af3f18598d8050ba63e21681a17e5;p=graphviz xdot: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes in xdot.h to be controlled by the GVDLL symbol. Without this change, errors like this would occur in lib/gvc: LINK : fatal error LNK1104: cannot open file 'C:\Users\magja\graphviz\Debug\Graphviz\bin\xdot.lib' Done building project "gvc.vcxproj" -- FAILED. Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/xdot/xdot.vcxproj b/lib/xdot/xdot.vcxproj index bbb0f7138..8cc985c3d 100644 --- a/lib/xdot/xdot.vcxproj +++ b/lib/xdot/xdot.vcxproj @@ -52,7 +52,7 @@ Disabled $(ProjectDir);$(SolutionDir)\lib;%(AdditionalIncludeDirectories) - EXPORT_XDOT;_DEBUG;_LIB;%(PreprocessorDefinitions) + GVDLL;EXPORT_XDOT;_DEBUG;_LIB;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -70,7 +70,7 @@ $(ProjectDir);$(SolutionDir)\lib;%(AdditionalIncludeDirectories) - EXPORT_XDOT;NDEBUG;_LIB;%(PreprocessorDefinitions) + GVDLL;EXPORT_XDOT;NDEBUG;_LIB;%(PreprocessorDefinitions) Level4 true