bakefile — native makefiles generator
bakefile
[
--version
] [
--help
]
-f
FORMAT
-o
OUTFILE
[
-D
VAR
=VALUE
...] [
-I
PATH
...] [
-v
] [
-q
] [
--dry-run
] [
--dump
]
file.bkl
bakefile creates various types of Makefiles and project files from a single project description called a "Bakefile".
--version
Display Bakefile version and exit.
-h
, --help
Display usage information and exit.
-f
FORMAT
,
--format
=FORMAT
Specify output format. Bakefile supports these formats:
Format | File(s) Generated |
---|---|
autoconf | Makefile.in for GNU Autoconf |
borland | Makefile for Borland C++ and Borland make |
cbuilderx | Borland C++Builder X project files |
dmars | Generic Makefile for Digital Mars C/C++ |
dmars_smake | Makefile for Digital Mars C/C++ with SMAKE |
gnu | Makefile for GNU toolchain: GNU Make, GCC, etc. |
mingw | Makefile for MinGW toolchain: mingw32-make, MinGW port of GCC, etc. |
msvc | Makefile for Visual C++ with Microsoft nmake |
msvc6prj | Microsoft Visual C++ 6.0 project files |
msevc4prj | Microsoft Embedded Visual C++ 4 project files |
symbian | Symbian development files |
watcom | Makefile for OpenWatcom C/C++ |
xcode2 | Apple Xcode 2.x project files |
-o
OUTFILE
,
--output
=OUTFILE
File to write generated makefile to. For those backends that generate more than one file, this option specifies the name of the main makefile.
-D
VAR
=VALUE
Define Bakefile variable. This definition overrides any definition from the ruleset or input makefile. You can use it to customize generated output.
-I
PATH
Add path to the list of directories where Bakefile looks for rules and output templates.
--dry-run
Process the bakefile normally, but instead of creating or modifying files, just print which files would be changed without actually modifying them.
-v
, --verbose
Be verbose.
-q
, --quiet
Supress all output except for errors.
--debug
show internal debugging information
--dump
Dump all Bakefile variables and targets to standard output instead of generating output. This is only useful for debugging Bakefile or ill-behaving makefiles.
--output-deps
=FILE
Output dependency information needed by bakefile_gen utility
--output-changes
=FILE
Store list of changed files to the given file
--xml-cache
=FILE
specify cache file where bakefile_gen stores pre-parsed XML files