Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: drogza on August 17, 2009, 12:29:39 am

Title: Compling only modified files
Post by: drogza on August 17, 2009, 12:29:39 am
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
Title: Re: Compling only modified files
Post by: stahta01 on August 17, 2009, 12:48:32 am
One make sure you are hitting build not rebuild.
Build only builds files that are newer than the output objects.

Tim S.
Title: Re: Compling only modified files
Post by: blueshake on August 17, 2009, 03:02:46 am
hi, you can do this.
in menu build->compile current file.
Title: Re: Compling only modified files
Post by: Jenna on August 17, 2009, 06:41:58 am
Is there a way to compile only the files recently modified?

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.