[cairo-commit] [cairo-www] src/download.mdwn
Carl Worth
cworth at freedesktop.org
Fri Sep 25 13:40:25 PDT 2009
src/download.mdwn | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
New commits:
commit d5786b7d57c116082741731944ead5b7c7fd2124
Author: travisgriggs <travisgriggs at web>
Date: Fri Sep 25 13:40:25 2009 -0700
diff --git a/src/download.mdwn b/src/download.mdwn
index 6391e1f..ed81b0a 100644
--- a/src/download.mdwn
+++ b/src/download.mdwn
@@ -185,7 +185,20 @@ Studio](http://cairographics.org/visualstudio/) page for more details.
0. Download and install zlib. Build zlib from its /projects folder, and use LIB RELEASE configuration.
0. Download and install libpng. Build libpng from its /projects folder and use LIB RELEASE configuration.
0. Install the MozillaBuild environment from here: [MozillaBuild](http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#MozillaBuild)
-0. If you chose the default install path, you'll find in c:\mozilla-build several batch files. Edit the one corresponding to your version of VC++ (or a copy of it), and modify the INCLUDE and LIB paths. You'll need to add the zlib and libpng INCLUDE and LIBpaths. Also include <your repository>\cairo\src, <your repository>\cairo\boilerplate, and <your repository>\pixman\pixman to the INCLUDE paths. Here's an example:
+0. If you chose the default install path, you'll find in c:\mozilla-build several batch files. Edit the one corresponding to your version of VC++ (or a copy of it), and modify the INCLUDE and LIB paths. You'll need to add the zlib and libpng INCLUDE and LIBpaths. Also include <your repository>\cairo\src, <your repository>\cairo\boilerplate, and <your repository>\pixman\pixman to the INCLUDE paths. Here's an example (your paths will vary obviously):
+
+ rem Root of cairo building
+ set "CAIROROOT=%HOMEDRIVE%%HOMEPATH%\BuildCairo"
+
+ rem Add zlib and libpng to LIB
+ set "LIB=%LIB%;%CAIROROOT%\zlib\projects\visualc6\Win32_LIB_Release;%CAIROROOT%\libpng\projects\visualc71\Win32_LIB_Release"
+
+ rem Add zlib and libpng to INCLUDE
+ set "INCLUDE=%INCLUDE%;%CAIROROOT%\zlib;%CAIROROOT%\libpng"
+
+ rem Add cairo, boilerplate, and pixman to INCLUDE
+ set "INCLUDE=%INCLUDE%;%CAIROROOT%\cairo\src;%CAIROROOT%\cairo\boilerplate;%CAIROROOT\pixman\pixman"
+
0. Launch the batch file you just modified. It'll open a mingw window. Ignore the error messages that might appear at the top of the window
0. We'll now build everything in debug configuration. For release, replace *CFG=debug* by *CFG=release*
0. Browse to pixman's folder (pixman\pixman), and run make -f Makefile.win32 CFG=debug
More information about the cairo-commit
mailing list