[cairo-commit] [cairo-www] src/download.mdwn

Carl Worth cworth at freedesktop.org
Fri Sep 25 13:37:52 PDT 2009


 src/download.mdwn |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

New commits:
commit 25351aa3c8e60e02325e322ca4ad65aba4d3d149
Author: travisgriggs <travisgriggs at web>
Date:   Fri Sep 25 13:37:51 2009 -0700

    Bringing the Windows Build section up to date

diff --git a/src/download.mdwn b/src/download.mdwn
index c2be44b..6391e1f 100644
--- a/src/download.mdwn
+++ b/src/download.mdwn
@@ -180,22 +180,20 @@ source, you *will* need cygwin, but you will only need to select the
 'git' package.  See the [Visual
 Studio](http://cairographics.org/visualstudio/) page for more details.
 
-# Building On Windows
-
-* Download and install zlib. Build zlib from its /projects folder, and use LIB RELEASE configuration.
-* Download and install libpng. Build libpng from its /projects folder and use LIB RELEASE configuration.
-* Install the MozillaBuild environment from here: [MozillaBuild](http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#MozillaBuild)
-* Edit the cairo\src\cairo-features.h file to lo look something like [this example of cairo-features.h](http://cairographics.org/visualstudio)
-* If you chose the default install path, you'll find in c:\mozilla-build several batch files. Open the one corresponding to your version of VC++, and modify the include and lib paths. You'll need to add the zlib and libpng include and lib paths. Also include <your repository>\cairo\src, \cairo\boilerplate, and \pixman\pixman to the include paths
-* 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
-* We'll now build everything in debug configuration. For release, replace CFG=debug by CFG=release
-* Browse to pixman's folder (pixman\pixman), and run make -f Makefile.win32 CFG=debug
-* Browse to Cairo's src folder (cairo\src), and run make -f Makefile.win32 static CFG=debug
-* Browse to Cairo's boilerplate folder (cairo\boilerplate), and run make -f Makefile.win32 CFG=debug
-* Browse to Cairo's test pdiff folder (cairo\test\pdiff), and run make -f Makefile.win32
-* Browse to Cairo's test folder (cairo\test), and run make -f Makefile.win32 CFG=debug
-* Browse to Cairo's benchmark folder (cairo\perf), and run make -f Makefile.win32 CFG=debug
-* You're all done!
+# Building On Windows (Mozilla Build Environment flavor)
+
+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 &lt;your repository&gt;\cairo\src, &lt;your repository&gt;\cairo\boilerplate, and &lt;your repository&gt;\pixman\pixman to the INCLUDE paths. Here's an example:
+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
+0. Browse to Cairo's src folder (cairo\src), and run make -f Makefile.win32 static CFG=debug. **You now have your library in cairo\src\debug (or release)**. You can build the remaining ancillary cairo parts with the following steps, or go enjoy your library now.
+0. Browse to Cairo's boilerplate folder (cairo\boilerplate), and run make -f Makefile.win32 CFG=debug
+0. Browse to Cairo's test pdiff folder (cairo\test\pdiff), and run make -f Makefile.win32
+0. Browse to Cairo's test folder (cairo\test), and run make -f Makefile.win32 CFG=debug
+0. Browse to Cairo's benchmark folder (cairo\perf), and run make -f Makefile.win32 CFG=debug
 
 ## Building in Visual Studio
 


More information about the cairo-commit mailing list