User forums > Using Code::Blocks

compile single file

(1/1)

brainspoon:
Hi,

always when I try to compile a single file of a project to not rebuild the whole thing, I get this warning "Only files that belong to the active project can be compiled..."
Am i doing something wrong?

rickg22:
Actually not. Code::Blocks wasn't designed to compile single files, but projects. And there's a feature request about this, but got dismissed as "wontfix".

Now if you want, we could post a poll asking users whether to allow or not compilation of single files.

brainspoon:
It's not a must have but would be time saving.

rickg22:
OK, will post poll then.

*Update: Poll created in the following thread.
http://codeblocks.org/index.php?name=PNphpBB2&file=viewtopic&t=439

Navigation

[0] Message Index

Go to full version