Template does not support all configurations (beside Releas and Debug)

Sysprogs forums Forums VisualGDB Template does not support all configurations (beside Releas and Debug)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19973
    gruebs
    Participant

    Creating a VisualGDB template with own defined configurations e.g. “MyConfig” (next to Release and Debug) works fine (no error).

    But, after creating a project out of this template, the new project will have only the two standard configurations Release and Debug. Beside the missing configuration “MyConfig”,  the existing configurations (Release, Debug) inherit the settings from “MyConfig”.

    Hint: I created the configuration “MyConfig”  in VisualGDB properties (not in Visual Studio properties).

     

    Steps to reproduce:

    1. Create a project “foo”
    2. Cange VisualDGB properties: add new configuration “MyConfig”
    3. leave VisualDGB properties window
    4. Change Visual Studio properties of “MyConfig”
    5. save project “foo”
    6. create VisualGDB template “foo_template” from project “foo”
    7. create project “bar” from template “foo_template”
    8. check configurations of “bar”:
      • only Debug and Release exists
      • Debug and Release got the settings from “MyConfig” of project “foo”

     

    #19981
    support
    Keymaster

    Hi,

    Thanks, this is a known limitation. Project templates are currently limited to the standard configurations only. They take settings from the current configuration, remove debug- or release-specific flags like -O0 and then use those settings to create Debug and Release configurations in the new project (adding debug and release-specific settings back). We will update this thread once we support templates with custom configurations.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.