User forums > Using Code::Blocks

Always run a target

(1/1)

kkez:
I have project that is similar to C::B, that is, it has one executable target and the other targets produce dlls. Of course when i build my project i want to build every target (build target: All), since many files are shared. But only one target needs to be executed :)

Now the question: is the option "Always run this target" available in C::B? I tried to search throughout the forums with "run" and "target" but didn't find anything.

Of course the other use of targets could be one for debug and one for release à la VC++ but in that case two targets produces executable and it should be easy to check..

kkez:
Yes it exists/No it doesn't exist/make a patch if you want/no we don't want this feature at all.

kkez:
BTW, "This target provide the project's main executable" is a step behind the "Always run this target" because it only select the target... so can i remove it if i make a patch? Of course projects with many targets will still have that dialog to choose which output to start...

Navigation

[0] Message Index

Go to full version