Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: CobraL0rd on July 03, 2017, 04:03:35 pm

Title: How do i select multiple files in a project and apply changes to them at once?
Post by: CobraL0rd on July 03, 2017, 04:03:35 pm
I have many source files in a cpp project. I want to be able to select many of them at once, then right click ->Properties -> Build Tab -> and here choose whether they should be compiled and linked. I do that, but only one source file has changes applied. It's painful to do this repetitively for all source files. Are there any plans to fix this bug, or implement this feature? Thanks.
Title: Re: How do i select multiple files in a project and apply changes to them at once?
Post by: oBFusCATed on July 03, 2017, 08:36:20 pm
It is not possible at the moment, I think. It might be possible in the future...
Title: Re: How do i select multiple files in a project and apply changes to them at once?
Post by: cacb on July 04, 2017, 10:18:04 am
I have many source files in a cpp project. I want to be able to select many of them at once, then right click ->Properties -> Build Tab -> and here choose whether they should be compiled and linked. I do that, but only one source file has changes applied. It's painful to do this repetitively for all source files. Are there any plans to fix this bug, or implement this feature? Thanks.

Until someone creates a feature to do what you suggest, a decent work-around is to simply edit the .cbp project file in a text editor (it is an XML format). Just edit as you do for one file and exit C::B, then cut/paste the settings for the other source files.