Extensions submitted by users
In this page you can store your own collection of bakefile tags, presets and templates and maybe find the one you need :)
To upload a new template (it should be a .bkl file), just attach it to this page.
Custom tags
More info about define-tag are at http://www.bakefile.org/doc/ch05.html#cmd.define-tag. However a better way to learn how to use it is looking at the samples or to the tags here defined...
* attachment:utils.bkl - Various utility tags and rules
Custom templates and presets
More info about Bakefile templates are at http://www.bakefile.org/doc/ch03.html#concept.template. More info about Bakefile presets are at http://www.bakefile.org/doc/ch03.html#concept.preset.
Here are some of presets by Francesco Montorsi: they are named in a rational way which lets you immediately know for which option they add support:
- attachment:debugopt.bkl - adds supports for a DEBUG=0/1 option
- attachment:sharedopt.bkl - adds supports for a SHARED=0/1 option
- attachment:unicodeopt.bkl - adds supports for a UNICODE=0/1 option
This other preset works together with the the previous *opt ones to set the BUILDDIR variable in a smart way...
- attachment:setbuilddir.bkl - avoid conflicts between object files generated with different option values
Note that if you use the above presets you'll typically also want to use the following M4 file for the autoconf format:
Attachments
-
utils.bkl
(14.8 kB) - added by vslavik
13 months ago.
Various utility tags and rules
- bakefile-presets.m4 (5.4 kB) - added by vslavik 13 months ago.
- debugopt.bkl (1.5 kB) - added by vslavik 13 months ago.
- setbuilddir.bkl (2.5 kB) - added by vslavik 13 months ago.
- unicodeopt.bkl (1.1 kB) - added by vslavik 13 months ago.
- sharedopt.bkl (1.1 kB) - added by vslavik 13 months ago.