From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:01:01 +0000 (+0100) Subject: bcomps: MSBuild: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~87^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91352bce6580c85224520d1932906041680bdd5d;p=graphviz bcomps: 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: bcomps.obj : error LNK2001: unresolved external symbol _Agstrictundirected Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/cmd/tools/bcomps.vcxproj b/cmd/tools/bcomps.vcxproj index f10d11c1a..b233936f2 100644 --- a/cmd/tools/bcomps.vcxproj +++ b/cmd/tools/bcomps.vcxproj @@ -54,7 +54,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -78,7 +78,7 @@ $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir);$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;GVDLL;%(PreprocessorDefinitions) Level4 true