]> granicus.if.org Git - graphviz/commit
ortho: MSBuild: define GVDLL
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 1 Aug 2021 16:01:01 +0000 (18:01 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 28 Sep 2021 16:17:16 +0000 (18:17 +0200)
commitef64016c93276acbfc17ee9fb59a42822463cf1a
treed925d8bc5330c3a2fba9764e1c3db8fccf56d018
parent50e7d9768b9c02287a0d68e64233c7f713d1f4b8
ortho: MSBuild: define GVDLL

Without this change, an upcoming commit in this series that will use
GVDLL instead of _WIN32 to enable Microsoft-specific storage-class
attributes would cause this error:

neatogen.lib(neatosplines.obj) : error LNK2019: unresolved external symbol _orthoEdges referenced in function __spline_edges [C:\GitLab-Runner\builds\magjac\graphviz\plugin\neato_layout\gvplugin_neato_layout.vcxproj]

Since https://gitlab.com/graphviz/graphviz/-/merge_requests/2182,
setting GVDLL is the preferred single mechanism to enable
Microsoft-specific storage-class attributes.

Also towards
https://gitlab.com/graphviz/graphviz/-/issues/2058#note_678679545
lib/ortho/gvortho.vcxproj