Hi,
Sorry, I guess I wasn't clear. I was creating a limited number of workspaces (at present only two), each with a bunch of projects in them.
The only reason I was copying (not editing, just copying) the .layout file was because I noticed that project directories had them. I assumed a project needed one in order to be "properly" set up.
And, when I tried this, I noticed that my "added by hand" projects did NOT show up in the workspace. So the state of the workspace must be kept some place else besides the .workspace file.
Just as a suggestion...when people are attempting to move a bunch of existing files/projects into Code::Blocks, it would be nice to have some script/tool that would make the job a little easier. What I ended up doing was adding each of the projects via the GUI, overwriting the .cbp file I had created, NOT overwriting the main.cpp file, and it seems happy now. I created a separate workspace for my other projects (several multi-file libraries) and that seems to work fine as well. But something I could have done in a couple of minutes via a script took significantly longer in the GUI.
Thanks,
Rob