From affdc2088e0086b968570a63d4982eb52e6d8bc9 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Thu, 16 Dec 2021 21:49:07 +0100 Subject: [PATCH] mingle: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit that removes the common/globals.h symbols from the gvc.def file would otherwise cause errors like this: minglemain.obj : error LNK2001: unresolved external symbol _Files [C:\Users\magja\graphviz\cmd\mingle\mingle.vcxproj] Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- cmd/mingle/mingle.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/mingle/mingle.vcxproj b/cmd/mingle/mingle.vcxproj index d164fb6e9..d18e2ecc8 100644 --- a/cmd/mingle/mingle.vcxproj +++ b/cmd/mingle/mingle.vcxproj @@ -53,7 +53,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - _DEBUG;_LIB;%(PreprocessorDefinitions) + _DEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -78,7 +78,7 @@ MaxSpeed true $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\vcpkg\installed\x86-windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;%(PreprocessorDefinitions) + NDEBUG;_LIB;GVDLL;%(PreprocessorDefinitions) true Level4 -- 2.50.1