From: Magnus Jacobsson Date: Sat, 1 Jan 2022 16:37:22 +0000 (+0100) Subject: cdt: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~92^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30a923440ca57963e347923b7b1fc8651b6b8280;p=graphviz cdt: 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, the following error would occur: LINK : fatal error LNK1104: cannot open file 'C:\GitLab-Runner\builds\magjac\graphviz\Debug\Graphviz\bin\cdt.lib' [C:\GitLab-Runner\builds\magjac\graphviz\lib\pathplan\Pathplan.vcxproj] Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/lib/cdt/cdt.vcxproj b/lib/cdt/cdt.vcxproj index 07321d013..c810671e4 100644 --- a/lib/cdt/cdt.vcxproj +++ b/lib/cdt/cdt.vcxproj @@ -59,7 +59,7 @@ EnableFastChecks true 4996;4706 - EXPORT_CDT;%(PreprocessorDefinitions) + GVDLL;EXPORT_CDT;%(PreprocessorDefinitions) true @@ -75,7 +75,7 @@ Level4 true 4996;4706 - EXPORT_CDT;%(PreprocessorDefinitions) + GVDLL;EXPORT_CDT;%(PreprocessorDefinitions)