User forums > Using Code::Blocks
workspace continue build after error
Martin K.:
Hi,
Is it possible to continue a build after one (or more) of the projects raises an error?
Currently the build process stops after the project wich throws error and dont contniue with the next one.
Martin
oBFusCATed:
Why would you need this?
Martin K.:
--- Quote from: oBFusCATed on November 28, 2012, 01:58:16 pm ---Why would you need this?
--- End quote ---
A Workspace with 40 projects, 3 of them doesn't compile, be the rest will. A build/rebuild workspace stopps after the first failed project,so i have to build the rest manual one after the other.
Changing the compiler version for a bigger software packet.
Martin
oBFusCATed:
What I do when this happens is to rename the targets of the broken projects. This way they are skipped by C::B.
In the future I'll try to add an option to disable certain projects, but currently I don't know of such feature.
MortenMacFly:
--- Quote from: Martin K. on November 28, 2012, 02:33:11 pm ---A Workspace with 40 projects, 3 of them doesn't compile, be the rest will. A build/rebuild workspace stopps after the first failed project,so i have to build the rest manual one after the other.
Changing the compiler version for a bigger software packet.
--- End quote ---
There is an easy way:
You you use virtual targets to group targets across projects across a workspace together. So if you create in all your project a virtual targets that covers all targets that build but not the ones that don't build you get what you want. Easy!
Navigation
[0] Message Index
[#] Next page
Go to full version