User forums > Using Code::Blocks

Compling only modified files

(1/1)

drogza:
Hello,

Is there a way to compile only the files recently modified?

Each time I hit build, it compiles the whole files of the proyect instead of just the file or files recently changed.

thanks for the tips

stahta01:
One make sure you are hitting build not rebuild.
Build only builds files that are newer than the output objects.

Tim S.

blueshake:
hi, you can do this.
in menu build->compile current file.

Jenna:

--- Quote from: drogza on August 17, 2009, 12:29:39 am ---Is there a way to compile only the files recently modified?

--- End quote ---

That's the normal behaviour.
As Tim wrote, make sure not to hit rebuild instead of build accidently.

Check the time stamps of your files, where do you save them ?
And be aware, that if you change include files, that might also lead to a recompile of an unchanged file.

Navigation

[0] Message Index

Go to full version