Skip to content

v0.5.0

Compare
Choose a tag to compare
@jimporter jimporter released this 25 Nov 19:38
· 323 commits to master since this release

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() and command()
  • 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() and copy_files() functions
  • Add safe_str() and safe_format() to help safely build command string
  • Expose Path object to bfg scripts
  • find_files() redesigned and split into find_files() and find_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; call project(intermediate_dirs=False) to disable this

For a full list of the changes made to this release, see the changelog.