Skip to content
Snippets Groups Projects
Commit d2adc303 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

BuildConfigurationFactory: Refactor code


Refactor the code of the build configuration factories. The idea is to
generalize the code so much that we can allow plugins to install
custom build configuration factories for the platforms they support.

To support this use case the following changes where done here:
 * BuildInfo class was introduced to describe one build configuration that
   can be created by a factory.
 * Factories report a list of BuildInfo to describe what they can produce.
   This fixes the need for factories to implicitly create one buildconfiguration
   and then create another one 'officially' to support debug and release build
   configurations to be set up for projects.
 * Do no longer work around factories to create build configurations.

Change-Id: Ic372e4a9b5c582633b467d130538948472b89d91
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent ec436a6d
No related branches found
No related tags found
No related merge requests found
Showing
with 384 additions and 196 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment