From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:01:01 +0000 (+0100) Subject: mm2gv: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~87^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46dfd19e7a590a1d28fcd105e3a68d9cd2288076;p=graphviz mm2gv: MSBuild: 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 cgraph.h. Without this change, errors like this would occur: mm2gv.obj : error LNK2001: unresolved external symbol _Agdirected Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/cmd/tools/mm2gv.vcxproj b/cmd/tools/mm2gv.vcxproj index d3bdaf464..5babca85b 100644 --- a/cmd/tools/mm2gv.vcxproj +++ b/cmd/tools/mm2gv.vcxproj @@ -53,7 +53,7 @@ Disabled - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -77,7 +77,7 @@ - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) Level4 true