Author Topic: Build only modified files  (Read 4521 times)

Offline RBendo

  • Single posting newcomer
  • *
  • Posts: 7
Build only modified files
« 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

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Offline RBendo

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build only modified files
« Reply #2 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" ?

Offline koso

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Build only modified files
« Reply #3 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.

Offline RBendo

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build only modified files
« Reply #4 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.
 

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Build only modified files
« Reply #5 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline RBendo

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build only modified files
« Reply #6 on: October 25, 2009, 01:58:46 pm »
Solved, Thank you ( very very very very very ... )e+100^2 much