Bug 396805 - Values getting copied to Multiple configurations
Summary: Values getting copied to Multiple configurations
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.1.1   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 275779
  Show dependency tree
 
Reported: 2012-12-18 03:18 EST by Amol Deshpande CLA
Modified: 2020-09-04 15:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amol Deshpande CLA 2012-12-18 03:18:57 EST
1. Create Hello World ANSI C project > MingGW GCC .

2. Go to MBS -> Settings 

3. Go to Manage Configurations and create a custom configuration "myConfig" 

4. Set "myConfig" as ACTIVE.

5. Go to 'Debug' Configuration : 
	'GCC C compiler ' > Symbols > 'Defined Symbols(-D)' : add value "-include=debug" 
	'GCC C compiler ' > Symbols > 'Undefined Symbols(-U)': add value "-include=undefined_debug "

6. Go to 'myConfig' configuration :
	'GCC C compiler' > Symbols > Defined Symbols(-D) : add value "-include=myConfig" 

7. Select Multiple configurations  and choose "Debug" and "myConfig" [don't modify any option]

8.Go to 'myConfig' configuration :
	'Undefined Symbols(-U)': add value "-include=Undefined_myConfig"

9. Select Multiple configurations  and choose "Debug" and "myConfig" [don't modify any option]

10. Select Debug configuration and observe "Undefined Symbols(-U)" value.

Actual: The value '-include=Undefined_myConfig' we have added only for "myConfig" and is copied to "Debug" configuration which is not expected.
Expected: Unless user modifies the option corresponding to the configuration, options should not be copied across the configurations.