v0.5.0
bfg9000 v0.5.0 has been released! It's available on PyPI as well as an Ubuntu PPA: ppa:jimporter/stable.
Highlighted changes
- Add
generated_source()
to allow generating source code from domain-specific languages - Add support for
lex
,yacc
, and Qt build tools (moc
,rcc
,uic
) - Add the ability to use placeholders for
build_step()
andcommand()
- Add an
auto_file()
function that infers the kind of file based on its extension;build_step()
now uses this by default for outputs - Add
copy_file()
andcopy_files()
functions - Add
safe_str()
andsafe_format()
to help safely build command string - Expose
Path
object to bfg scripts find_files()
redesigned and split intofind_files()
andfind_paths()
; simple cases should still work, but more complex uses will need adjusted- Implicitly-defined object files (e.g. those generated by
executable()
) are placed in an intermediate directory; callproject(intermediate_dirs=False)
to disable this
For a full list of the changes made to this release, see the changelog.