]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/README
Changed the wxPlatform syntax as per Vadim's suggestions
[wxWidgets.git] / build / bakefiles / README
CommitLineData
2da40942
VS
1
2This directory contains Bakefile (see http://bakefile.sourceforge.net)
77ffb593 3files needed to generate native makefiles for wxWidgets library, contrib and
2da40942
VS
4samples.
5
31caa11b
VS
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.
2da40942
VS
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.
18430b7b 17"bakefile_gen -b "../../samples/html/*/*.bkl" will regenerate makefiles for
2da40942
VS
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:
d80f2515
VS
23 <?xml version="1.0" ?>
24 <bakefile-gen>
25 <disable-formats>msvc,msvc6prj</disable-formats>
26 </bakefile-gen>
2da40942
VS
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.
02a0c28d
VS
31
32Note: the following files are generated using bakefile_gen:
33 * build/msw/*
34 * contrib/build/* (except .bkl files)
35 * makefiles with same names as makefiles in above dirs, Makefile.in files
36 that contain "This makefile was generated by Bakefile" banner and
37 VC++ project files in samples, demos and utils directories (inc. contrib
38 ones)
be368bc8 39 * src/wxWindows.dsp
02a0c28d
VS
40 * {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
41 * autoconf_inc.m4
42 * all Makefile.in files
43 (hopefully I didn't forget anything - VS)