Please tell me if this is expected behavior for CCS4.1 when building a project.
- My project contains about 8 source files and is being built with the Debug configuration selected.
- I have a predefined symbol for the project, say ABC.
- I decide to try the optimizer on just one source file, say xyz.c, so I right-click it to Properties and select C/C++ Build.
- Change the optimization level from blank to 3 and see that the -O3 option has been added for this one file.
- After experimentation, I open the build properties for the whole project and change the predefined symbol to ABCx as an easy way to remember what it was before.
- Unfortunately, the individual build properties for xyz.c still has the old predefined symbol ABC and not the new one ABCx.
It appears that when you go to change the build properties for an individual source file, a snapshot is taken of all the build properties and then it stays that way. Is this the correct and expected behavior?
This will be very inconvenient if I want to have several files with different build options than the project as a whole. If I want to make some global changes for all files, the separate ones will have to be updated manually, if I am understanding this correctly.
Please advise. This was not the behavior that I recall from CCS 3.x, so is this an Eclipse-effect or an intentional feature change?
Regards,
RandyP