]> git.saurik.com Git - wxWidgets.git/blame_incremental - build/bakefiles/README
small reorganization; no real change
[wxWidgets.git] / build / bakefiles / README
... / ...
CommitLineData
1
2This directory contains Bakefile (see http://bakefile.sourceforge.net)
3files needed to generate native makefiles for wxWidgets library and
4samples.
5
6Use the bakefile_gen utility to regenerate the makefiles (run it in this
7directory!). If you run it with no arguments, it will generate all makefiles
8that are not up to date.
9
10Use "bakefile_gen -c" to clean generated files.
11
12You can generate or clean only subset of files by specifying -f or -b flags
13when invoking bakefile_gen. For example, "bakefile_gen -fborland,watcom" will
14only regenerate Borland C++ and OpenWatcom makefiles. -b flag limits
15regeneration only to specified bakefiles. For example,
16"bakefile_gen -b wx.bkl" will only regenerate main library makefiles.
17"bakefile_gen -b "../../samples/html/*/*.bkl" will regenerate makefiles for
18all wxHTML samples. -b and -f can be combined.
19
20You can customize the process of generating makefiles by adding file
21Bakefiles.local.bkgen (same format as Bakefiles.bkgen) with further settings.
22For example, you may disable output for compilers you don't use:
23 <?xml version="1.0" ?>
24 <bakefile-gen>
25 <disable-formats>msvc,msvc6prj</disable-formats>
26 </bakefile-gen>
27
28Note: bakefile_gen creates file .bakefile_gen.state with dependencies
29information. This file can be safely deleted, but it contains valuable
30information that speed up regeneration process.
31
32Note: the following files are generated using bakefile_gen:
33 * build/msw/*
34 * makefiles with same names as makefiles in above dirs, Makefile.in files
35 that contain "This makefile was generated by Bakefile" banner and
36 VC++ project files in samples, demos and utils directories
37 * src/wxWindows.dsp
38 * {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
39 * autoconf_inc.m4
40 * all Makefile.in files
41 (hopefully I didn't forget anything - VS)