]> granicus.if.org Git - graphviz/commitdiff
Fix gvmap mains to use edgepaint library in Windows
authorEmden R. Gansner <erg@alum.mit.edu>
Mon, 3 Mar 2014 21:16:01 +0000 (16:16 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Mon, 3 Mar 2014 21:16:01 +0000 (16:16 -0500)
cmd/gvmap/cluster.c
cmd/gvmap/gvmap.c

index 2db2a60a227e3410a099df19cb11c4a6c3d129f7..0f056ef2e90f1bc588a53e7cc7c804c40c0a5591 100644 (file)
 #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};
index 40b02a798057caf36054d145c83f79e79b82ebfe..3b2b9f40d5dfb5c4183954a66653a218e945a7e0 100644 (file)
@@ -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" )