Feature #3585 2007-07-23 17:27
rickg22
Add files with option
It's exhausting to add around 100 non-c++ files to your project and having to enable "compile" or "link" for each one of them.
There should be an option when adding files so I could check whether I want them compiled and/or linked after I add them.
- Category
- Build System
- Status
- Open
- Close date
- Assigned to
History
Adding another modal dialog that stops 99% of the users needlessly to support something that is clearly not the design goal of Code::Blocks? Not seriously? That sounds just as good as the rape that was done to the "new file" button a few months back.
The correct way of addressing this is to implement file handling correctly in the first place (which is not only hardcoded, but a nightmare too).
Another solution would be to write a simple script plugin (5-6 lines of code) that loops through all items in the project tree and sets the "compile" flag on all files of type XYZ. That's what we have script plugins for. :)