SanderMertens / bake

Bake, A build system for building, testing and running C & C++ projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve handling of environments with multiple build configurations

SanderMertens opened this issue · comments

There are a number of issues when using environments that have projects built with different build configurations (debug, release). The known issues are:

  • bake list will not show packages unless you specify the right configuration (example: bake list --cfg release)
  • building projects fails when dependencies have been built with a different configuration
  • bake run cannot find packages if they were cloned while using a different build configuration

The following behavior would be more desirable:

  • bake list shows all packages, and for which configurations they have been built
  • when building a project, its dependencies should also be built with the same configuration
  • when a dependency cannot be built, bake should log a clear error that mentions the package is not available for configuration X, vs. the package cannot be found
  • bake run should build a project if it hasn't been built yet for the specified configuration

Some of this functionality has been implemented as part of #33

The improvements have been implemented as part of the 2.3 release