v0.6.0
bfg9000 v0.6.0 has been released! It's available on PyPI as well as an Ubuntu PPA: ppa:jimporter/stable.
Highlighted changes
- Drop support for Python 2
- Add support for including multiple
build.bfg
(andoptions.bfg
) files from subdirectories viasubmodule()
find_files()
andfind_paths()
have been redesigned to support recursive globs- The default list of excluded globs for
find_files()
can now be customized viaproject(find_exclude=[...])
pkg_config()
now defaults toauto_fill=False
- Link steps (
executable
,library
, etc) now accept anextra_compile_deps
argument to forward on to the compilation step generated_source()
steps are now automatically created as necessary for files passed toobject_file()
, if possible- Try to find the right compiler to use for C-family languages by guessing based on other compilers in the family (e.g. if
CXX=g++
, guess that the C compiler isgcc
) - Paths with a trailing
/
are now treated as directory paths, and when passed toauto_file()
will create a directory object - Add support for compiling Windows
.rc
files - Allow customizing
install
locations for specific files via thedirectory
argument
For a full list of the changes made to this release, see the changelog.