Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: RBendo on October 25, 2009, 10:41:05 am

Title: Build only modified files
Post by: RBendo on October 25, 2009, 10:41:05 am
Hi, sorry for english,
I'm writing code for a large application, until two days ago, when i built code, Codeblocks built only modified files,
But now, it build the entire application.
How to reconfigure codeblock for previous build method ? Can anybody help me?, thanks

Riccardo
Title: Re: Build only modified files
Post by: blueshake on October 25, 2009, 10:44:51 am
http://forums.codeblocks.org/index.php/topic,11027.msg75265.html#msg75265 (http://forums.codeblocks.org/index.php/topic,11027.msg75265.html#msg75265)
Title: Re: Build only modified files
Post by: RBendo on October 25, 2009, 10:53:36 am
Sorry, but i'm sure, i hit Build command, and not rebuild ,or compile current file.
What does mean:
"that if you change include files, that might also lead to a recompile of an unchanged file" ?
Title: Re: Build only modified files
Post by: koso on October 25, 2009, 11:26:08 am
It means, that compiled are not only modified files, but also files which includes (directly or indirectly) modified files. If you modify some low level header file included in all other files, C::B will recompile everything.
Title: Re: Build only modified files
Post by: RBendo on October 25, 2009, 11:44:26 am
Ok i understand, but, also when i don't modify anything, I hit build one, two or more consecutively, and it restart to build
all.
 
Title: Re: Build only modified files
Post by: stahta01 on October 25, 2009, 01:19:24 pm
Check the computer date/time if it went crazy it can cause this.

Check the datetime on the source files if one of them is set in the future can cause this.

Tim S.
Title: Re: Build only modified files
Post by: RBendo on October 25, 2009, 01:58:46 pm
Solved, Thank you ( very very very very very ... )e+100^2 much