|
Re: Incremental build does nothing [message #523319 is a reply to message #523211] |
Thu, 25 March 2010 21:24 |
Hans-Jochen Trost Messages: 17 Registered: February 2010 |
Junior Member |
|
|
Tom Boddington wrote on Thu, 25 March 2010 10:43 | When I change a header file that my project depends on, but the project's own files are up to date, option Project, Build Project does absolutely nothing. My makefile knows about the dependencies and, if invoked from the command-line, correctly identifies the source files to be re-compiled.
|
Tom,
this happens to me, too. However, I do not have a separate makefile but am using the "Internal Builder" of CDT. How is your project set up - with internal builder or did you ask to use the external makefile explicitly?
Also, I'm on Windows XP SP3 using the MinGW tool chain, updated to use gcc 4.4.0. My Eclipse platform is a bit newer than yours, 3.5.2.M20100210-0800. What OS and compiler system are you using?
Cheers, Jochen
|
|
|
Re: Incremental build does nothing [message #523456 is a reply to message #523319] |
Fri, 26 March 2010 14:27 |
Tom Boddington Messages: 2 Registered: March 2010 |
Junior Member |
|
|
To be honest I've never heard of Internal Builder.
It's a Qt project, so its makefile is generated by Qt's tool QMAKE, which is a rather opaque process. However, the makefile that results is correct as far as this issue is concerned; it's its invocation by Eclipse which is going wrong.
So, I was going to say that I'm not using Internal Builder, but it occurs to me that maybe I am, unknowingly, and that that's the problem. How would I know if I was using it? Is it an option that's set when a project is created? The only thing I can find in the Eclipse GUI is under Project Properties; Builders. I have three builders listed and all are ticked:
- Qt Makefile Generator
- CDT Makefile Builder
- Scanner Configuration Builder
Perhaps I should disable one; or add another?
My OS is 64-bit Vista and the compiler is MinGW (gcc 4.4.0).
Another thing I should add is that Eclipse seems to skip the build whenever the objects are up to date. This means that if I re-compile my project but the link step fails (e.g. program running), then I can't link it without, again, making a token change to a source file.
[Updated on: Fri, 26 March 2010 17:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03309 seconds