Ok, this is rather complicated, so I am describing it as in-depth as I can... I think there are some problems with adding files to projects.
1. To reproduce this, first add files from a different directory than where the project resides (example file path: ../directory/file.rc). They will get added to Resources/directory. In the following, I am adding files from the same directory as the project (example file path: file.rc):
- a. When I add one file (lets say a .rc file) to Project, it adds to the proper folder (in this case Resources).
- b. When I add two resource files to Project, it adds them to: Resources/[Project folder] (the folder where the project resides. Remember, the resource files are in this folder too).
- c. When I remove one of those files, the other file moves to Resources, and the virtual folder [Project folder] is removed because it's empty. This also happens if I remove the files from the other virtual folder, "directory" (see "To reproduce" above).
I don't understand why they are added to [Project folder] in the first place!
2. When I add files, and choose not to add them to any targets (in the "Multiple selection" dialog that pops up), they don't get added at all!
3. When I add multiple files, the "Multiple selection" dialog doesn't say which file I'm setting compile targets for. And if I select something, and click OK, it gets done for all the files I'm adding! Whereas (see 2 above) when I don't select anything, I get to choose for each file. Either way though, it doesn't tell me which file I'm selecting for.
Just check them out for yourself. I'm not completely sure all of those are bugs, maybe you designed it that way. :?
I'm using: C::B 3788 (the current build), WinXP, MinGW
bupper