Skip to content
  • Tobias Hunger's avatar
    BuildConfigurationFactory: Refactor code · d2adc303
    Tobias Hunger authored
    
    
    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>
    d2adc303