Before I submit a change request, I'd like to have some feedback first.
I just noticed that the active target is stored in the cbp file.
Typically I would say the cbp file is also put together with the sources in a version control system.
Say your project has several targets working on the same code (debug build, release build ,maybe a special build with some more logging code turned on).
Now when you switch say from your debug target to your release target and you close the project, CB asks you to save the changes you made.
Yes, you made changes to the project, namely that active target (which changed from debug to release in the example) will be stored in the cbp file. So that means, when working with a version control system, you need to check it out, and later check it in, and later the same story when switching back to your debug target and so on ...
My suggestion is (open for discussion from this point on) :
- don't store the active target in the cbp file
- store it maybe in the layout file, whick keeps track of the open files in your project (editors) and where the cursor is in those editors , or some other file with a similar purporse ...
What do you think ?
Cheers,
Lieven