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