From: Emden R. Gansner Date: Mon, 3 Mar 2014 21:16:01 +0000 (-0500) Subject: Fix gvmap mains to use edgepaint library in Windows X-Git-Tag: 2.38.0~42^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0ba5b4cc3558571c7892c483e680ea3fb8214ca;p=graphviz Fix gvmap mains to use edgepaint library in Windows --- diff --git a/cmd/gvmap/cluster.c b/cmd/gvmap/cluster.c index 2db2a60a2..0f056ef2e 100644 --- a/cmd/gvmap/cluster.c +++ b/cmd/gvmap/cluster.c @@ -37,6 +37,18 @@ #include "DotIO.h" #include "colorutil.h" +#ifdef WIN32 /*dependencies*/ + #pragma comment( lib, "cgraph.lib" ) + #pragma comment( lib, "gvc.lib" ) + #pragma comment( lib, "ingraphs.lib" ) + #pragma comment( lib, "sparse.lib" ) + #pragma comment( lib, "sfdp.lib" ) + #pragma comment( lib, "edgepaintlib.lib" ) + #pragma comment( lib, "neatogen.lib" ) + #pragma comment( lib, "rbtree.lib" ) + #pragma comment( lib, "cdt.lib" ) +#endif /* not WIN32_DLL */ + enum {POINTS_ALL = 1, POINTS_LABEL, POINTS_RANDOM}; enum {maxlen = 10000000}; enum {MAX_GRPS = 10000}; diff --git a/cmd/gvmap/gvmap.c b/cmd/gvmap/gvmap.c index 40b02a798..3b2b9f40d 100644 --- a/cmd/gvmap/gvmap.c +++ b/cmd/gvmap/gvmap.c @@ -55,6 +55,7 @@ static char swork[maxlen]; #pragma comment( lib, "gvc.lib" ) #pragma comment( lib, "pathplan.lib" ) #pragma comment( lib, "neatogen.lib" ) + #pragma comment( lib, "edgepaintlib.lib" ) #pragma comment( lib, "circogen.lib" ) #pragma comment( lib, "twopigen.lib" ) #pragma comment( lib, "fdpgen.lib" )