From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:01:01 +0000 (+0100) Subject: neatogen: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~92^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=714d98361affa57120994a013744e818799c77f6;p=graphviz neatogen: 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 cdt.h. Without this change, errors like this would occur: neatogen.lib(neatosplines.obj) : error LNK2001: unresolved external symbol _Dtoset Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/neatogen/gvneatogen.vcxproj b/lib/neatogen/gvneatogen.vcxproj index bff31d79c..29d5ce083 100644 --- a/lib/neatogen/gvneatogen.vcxproj +++ b/lib/neatogen/gvneatogen.vcxproj @@ -53,7 +53,7 @@ Disabled $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pack;$(SolutionDir)lib\pathplan - _DEBUG;_LIB;NEATOGEN_EXPORTS;WIN32_DLL;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;NEATOGEN_EXPORTS;WIN32_DLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -71,7 +71,7 @@ $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pack;$(SolutionDir)lib\pathplan - NDEBUG;_LIB;NEATOGEN_EXPORTS;WIN32_DLL;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;NEATOGEN_EXPORTS;WIN32_DLL;%(PreprocessorDefinitions) Level4 true