Skip to content

Bake 2.1

Compare
Choose a tag to compare
@SanderMertens SanderMertens released this 06 Jan 20:35
· 669 commits to master since this release

This version includes the following new features:

  • Run projects with bake run, and interactively run with bake run --interactive
  • Run a shell command for each discovered project with bake foreach
  • Add use, exists, lookup, ignore_path to the driver API
  • Add bake locate to find and diagnose projects in the bake environment
  • Add bake list command to list & filter projects in the bake environment
  • Implement bake uninstall to remove projects from bake environment
  • Add prebuild and postbuild stages to driver API
  • Automatically install out-of-the-box library configurations in "libraries" path
  • Allow for comments in configuration files

This version contains the following improvements:

  • Initialize new bake packages by specifying --package to bake init
  • Fixed typos in the documentation
  • Fixed typo in the generated bake_config.h header file
  • Improved command line help
  • Improved error checking
  • Improve error handling when driver loading fails
  • GENERATED-SOURCES is now reevaluated when building and merged with SOURCES, so that generated files are automatically included in the build
  • Support locating static libraries with ut_locate
  • Improved performance of ut_dir_iter when using filter, by changing the working directory to the static part of the filter expression
  • Improve usage of colors in terminal
  • Add libraries to link with to end of link command, so all unresolved symbols are known
  • Don't clean bake_config.h
  • Don't discover projects in hidden folders
  • Improve keep-binary behavior, by only cleaning the binary when explicitly rebuilding only the keep-binary project
  • Fixed typo in bake upgrade
  • Add new examples
  • Add ut_locate_reset function which clears bake locate cache
  • Improve dependency resolution, especially for projects generated during the build
  • Improve detection of ARM CPUs
  • Use lowercase v for creating version tags

This version contains the following bugfixes:

  • The bake script is now always ran by bash, even when invoked from another shell
  • Fixed bugs where get/set attribute functions in the driver API could crash
  • Fixed problem with passing arguments from bake shell script to bake executable
  • Fixed problems with ut_dir_iter not correctly returning the correct relative path
  • Fix crash in ut_throw
  • Fix problem with locating application binaries
  • Fix crash caused by the project artefact not being set
  • Fix bug where driver API was invoked on wrong driver
  • Fix bug where relative include paths were not correctly added
  • Fixed issues with linking static libraries
  • Fixed issues with nested project identifiers and bake init
  • Fixed issue where cpp-standard was sometimes not set
  • Fixed bug in expression parser where the '.' character was not correctly parsed
  • Fix problem where execinfo.h could not be found on Android