Skip to content

Bake 2.3

Choose a tag to compare

@SanderMertens SanderMertens released this 18 Feb 03:16
· 400 commits to master since this release
db4a242

This version includes the following new features:

  • Windows support
  • Recursive builds
  • Precompiled header support (currently only for clang)

This version contains the following improvements:

  • Changed bake output to improve readability in CI logging and Windows command prompts
  • Extended documentation with more detailed index and description of build & run commands
  • Restructure bake environment to simplify working with multiple targets/configurations
  • Added bake CI builds for Linux, MacOS and Windows
  • List available build configurations for projects in bake list
  • When uninstalling projects, uninstall from all build configurations
  • Introduce bake cleanup command, which replaces bake uninstall missing
  • Always install bake plugins to bake environment root (instead of installing to a target)
  • Improved command line interface for creating templates with --template
  • Initialize new template projects with template functions in locations of project id's
  • Support for uninstalling templates, by adding --template to the uninstall command
  • Improved debug tracing in various commands, and dump contents of bake environment in debug mode
  • Add --debug command line option
  • Renamed ${id short} to ${id base}
  • Prefix example project identifiers with example and language
  • Renamed bake executable so that by default the bake shell script is executed, even for local installations
  • Added the file target to the bake driver API for specifying file targets that are generated during the build
  • Added template, src and devsrc arguments to ${locate} template function
  • Added driver-attr template function for using driver attributes in template functions
  • Allow template functions to be used in rule patterns
  • Cleanup util main header (remove legacy definitions from before the fork)
  • Improve logging when attributes cannot be found in the driver-specific configuration
  • Moved functionality for managing bake environment to util library, improved API
  • Improve robustness of ut_file_load function
  • Log messages by default to stdout, and only warnings and errors to stderr

This version contains the following bugfixes:

  • Fix issues with supporting clang on Linux
  • Disable LTO on clang/Linux as the LTO plugin cannot always be found
  • Fix issue in ut_dir_iter when pattern matches a single file
  • Many more bugfixes related to porting bake to Windows