From dbb0ecd311f913ce14dd88678aeca27d0a62efb6 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 18:01:01 +0100 Subject: [PATCH] circogen: 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: circogen.lib(edgelist.obj) : error LNK2001: unresolved external symbol _Dtoset Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/circogen/gvcircogen.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/circogen/gvcircogen.vcxproj b/lib/circogen/gvcircogen.vcxproj index 4fb042ded..206dcd4ba 100644 --- a/lib/circogen/gvcircogen.vcxproj +++ b/lib/circogen/gvcircogen.vcxproj @@ -53,7 +53,7 @@ Disabled $(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;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -67,7 +67,7 @@ $(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;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;WIN32_DLL;NEATOGEN_EXPORTS;%(PreprocessorDefinitions) Level4 true -- 2.50.1