From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:01:01 +0000 (+0100) Subject: fdpgen: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~92^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d80b44670f386c3e5079c1eed8634ae06a731fa;p=graphviz fdpgen: 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: fdpgen.lib(grid.obj) : error LNK2001: unresolved external symbol _Dtoset Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/fdpgen/gvfdpgen.vcxproj b/lib/fdpgen/gvfdpgen.vcxproj index ce41de965..3480f89eb 100644 --- a/lib/fdpgen/gvfdpgen.vcxproj +++ b/lib/fdpgen/gvfdpgen.vcxproj @@ -52,7 +52,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;%(AdditionalIncludeDirectories) - _DEBUG;_LIB;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -67,7 +67,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;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) Level4 true