From: erg Date: Wed, 20 Jul 2005 19:44:57 +0000 (+0000) Subject: Add updated bat files for simple windows build and install X-Git-Tag: LAST_LIBGRAPH~32^2~7400 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2e0e8c55ca40c4aba38a4fae0c8bed519672811;p=graphviz Add updated bat files for simple windows build and install --- diff --git a/windows/build.bat b/windows/build.bat new file mode 100755 index 000000000..17dce73c6 --- /dev/null +++ b/windows/build.bat @@ -0,0 +1,89 @@ +set vc=c:\progra~1\micros~3 +set PATH=%PATH%;%vc%\VC98\bin;%vc%\Common\MsDev98\bin; +set LIB=%vc%\VC98\lib +set INCLUDE=%vc%\VC98\include + +cd lib +cd cdt +nmake /nologo /f cdt.mak CFG="cdt - Win32 Release" +cd .. +cd graph +nmake /nologo /f graph.mak CFG="graph - Win32 Release" +cd .. +cd agraph +nmake /nologo /f agraph.mak CFG="agraph - Win32 Release" +cd .. +cd gd +nmake /nologo /f gd.mak CFG="gd - Win32 Release" +cd .. +cd pathplan +nmake /nologo /f pathplan.mak CFG="pathplan - Win32 Release" +cd .. +cd common +nmake /nologo /f common.mak CFG="common - Win32 Release" +cd .. +cd gvc +nmake /nologo /f gvc.mak CFG="gvc - Win32 Release" +cd .. +cd pack +nmake /nologo /f pack.mak CFG="pack - Win32 Release" +cd .. +cd neatogen +nmake /nologo /f neatogen.mak CFG="neatogen - Win32 Release" +cd .. +cd dotgen +nmake /nologo /f dotgen.mak CFG="dotgen - Win32 Release" +cd .. +cd twopigen +nmake /nologo /f twopigen.mak CFG="twopigen - Win32 Release" +cd .. +cd circogen +nmake /nologo /f circogen.mak CFG="circogen - Win32 Release" +cd .. +cd fdpgen +nmake /nologo /f fdpgen.mak CFG="fdpgen - Win32 Release" +cd .. +cd ingraphs +nmake /nologo /f ingraphs.mak CFG="ingraphs - Win32 Release" +cd .. + +cd .. +cd plugin +cd layout +nmake /nologo /f layout.mak CFG="layout - Win32 Release" +cd .. +nmake /nologo /f plugin.mak CFG="plugin - Win32 Release" +cd .. + +cd cmd +cd dot +nmake /nologo /f dot.mak CFG="dot - Win32 Release" +cd .. +cd lefty +cd gfx +nmake /nologo /f gfx.mak CFG="gfx - Win32 Release" +cd .. +nmake /nologo /f lefty.mak CFG="lefty - Win32 Release" +cd .. +cd dotty +nmake /nologo /f dotty.mak CFG="dotty - Win32 Release" +cd .. +cd lneato +nmake /nologo /f lneato.mak CFG="lneato - Win32 Release" +cd .. +cd tools +nmake /nologo /f Acyclic.mak CFG="Acyclic - Win32 Release" +nmake /nologo /f ccomps.mak CFG="ccomps - Win32 Release" +nmake /nologo /f gvcolor.mak CFG="gvcolor - Win32 Release" +nmake /nologo /f gc.mak CFG="gc - Win32 Release" +nmake /nologo /f nop.mak CFG="nop - Win32 Release" +nmake /nologo /f sccmap.mak CFG="sccmap - Win32 Release" +nmake /nologo /f tred.mak CFG="tred - Win32 Release" +nmake /nologo /f unflatten.mak CFG="unflatten - Win32 Release" +nmake /nologo /f gxl2dot.mak CFG="gxl2dot - Win32 Release" +nmake /nologo /f dijkstra.mak CFG="dijkstra - Win32 Release" +nmake /nologo /f bcomps.mak CFG="bcomps - Win32 Release" +nmake /nologo /f gvpack.mak CFG="gvpack - Win32 Release" +cd .. +cd .. + diff --git a/windows/install.bat b/windows/install.bat new file mode 100755 index 000000000..b9a5e5c15 --- /dev/null +++ b/windows/install.bat @@ -0,0 +1,117 @@ +set root= +set kind=Release +set binsrc= +mkdir %root% +mkdir %root%\lib +mkdir %root%\bin +mkdir %root%\include + +cd cmd +cd dot\%kind% +copy dot.exe %root%\bin +copy dot.exe %root%\bin\neato.exe +copy dot.exe %root%\bin\twopi.exe +copy dot.exe %root%\bin\circo.exe +copy dot.exe %root%\bin\fdp.exe +cd ..\.. + +cd lefty\%kind% +copy lefty.exe %root%\bin +cd ..\.. +cd dotty\%kind% +copy dotty.exe %root%\bin +cd ..\.. +cd lneato\%kind% +copy lneato.exe %root%\bin +cd ..\.. + +cd tools\%kind% +copy Acyclic.exe %root%\bin +copy ccomps.exe %root%\bin +copy gvcolor.exe %root%\bin +copy gc.exe %root%\bin +copy nop.exe %root%\bin +copy sccmap.exe %root%\bin +copy tred.exe %root%\bin +copy unflatten.exe %root%\bin +copy gxl2dot.exe %root%\bin +copy dijkstra.exe %root%\bin +copy bcomps.exe %root%\bin +copy gvpack.exe %root%\bin +copy gxl2dot.exe %root%\bin\dot2gxl.exe +cd ..\.. + +copy gvui\gvui.exe %root%\bin + +cd dotty +copy dotty.lefty %root%\bin +copy dotty_draw.lefty %root%\bin +copy dotty_edit.lefty %root%\bin +copy dotty_layout.lefty %root%\bin +copy dotty_ui.lefty %root%\bin +cd .. + +cd ..\lib\lib\%kind% +copy ingraphs.lib %root%\lib +copy agraph.lib %root%\lib +copy cdt.lib %root%\lib +copy circogen.lib %root%\lib +copy common.lib %root%\lib +copy dotgen.lib %root%\lib +copy fdpgen.lib %root%\lib +copy gd.lib %root%\lib +copy graph.lib %root%\lib +copy gvc.lib %root%\lib +copy neatogen.lib %root%\lib +copy pack.lib %root%\lib +copy pathplan.lib %root%\lib +copy twopigen.lib %root%\lib +cd ..\..\.. + +cd third-party\lib +copy *.dll %root%\bin +copy ft.lib %root%\lib +copy jpeg.lib %root%\lib +copy libexpat.lib %root%\lib +copy libexpatw.lib %root%\lib +copy libz.lib %root%\lib +copy png.lib %root%\lib +copy z.lib %root%\lib +cd ..\.. + +copy lib\agraph\agraph.h %root%\include +copy lib\cdt\ast_common.h %root%\include +copy lib\cdt\cdt.h %root%\include +copy lib\circogen\circo.h %root%\include +copy lib\common\globals.h %root%\include +copy lib\common\const.h %root%\include +copy lib\common\macros.h %root%\include +copy lib\common\render.h %root%\include +copy lib\common\renderprocs.h %root%\include +copy lib\common\types.h %root%\include +copy lib\dotgen\dot.h %root%\include +copy lib\dotgen\dotprocs.h %root%\include +copy lib\fdpgen\fdp.h %root%\include +copy lib\gvc\gvc.h %root%\include +copy lib\gvc\gvcint.h %root%\include +copy lib\gvc\gvcproc.h %root%\include +copy lib\gvc\gvplugin.h %root%\include +copy lib\gvc\gvplugin_layout.h %root%\include +copy lib\gvc\gvplugin_render.h %root%\include +copy lib\gvc\gvplugin_textlayout.h %root%\include +copy lib\neatogen\adjust.h %root%\include +copy lib\neatogen\neato.h %root%\include +copy lib\neatogen\neatoprocs.h %root%\include +copy lib\pack\pack.h %root%\include +copy lib\twopigen\circle.h %root%\include +copy lib\gd\gd.h %root%\include +copy lib\gd\gd_io.h %root%\include +copy lib\gd\gdfx.h %root%\include +copy lib\graph\graph.h %root%\include +copy lib\pathplan\pathgeom.h %root%\include +copy lib\pathplan\pathplan.h %root%\include +copy lib\pathplan\pathutil.h %root%\include +copy lib\pathplan\vis.h %root%\include +copy lib\pathplan\vispath.h %root%\include +copy lib\ingraphs\ingraphs.h %root%\include +