Are Make Targets treated as incremental or full build? [message #229650] |
Wed, 28 January 2009 12:21  |
Eclipse User |
|
|
|
Hi,
I hope this is a sensible question!
When a build is launched through a Make Target does CDT treat this as a
full or incremental build?
Is there a way to configure this? Or could someone point me at the
relevant plug-in code?
Thanks,
Jon
|
|
|
|
Re: Are Make Targets treated as incremental or full build? [message #229772 is a reply to message #229659] |
Fri, 30 January 2009 06:23  |
Eclipse User |
|
|
|
Hi Andrew,
Thanks for your quick reply.
>> I hope this is a sensible question!
>> When a build is launched through a Make Target does CDT treat this as
>> a full or incremental build?
> I assume you are referring to Make Target view?
Yes.
It is launched as full
> build. But this does not make a difference because CDT builder will do
> full build anyway. Incremental-ness is achieved exploiting natural
> abilities of gmake. Note that you could run arbitrary command in Make
> Target view, and so how would notion of incremental build apply?
Yes, that's true. The problem I'm dealing with is related to using the
Coverity Prevent plug-in. If I've understood it correctly, when we
launch a build through Make Target view Eclipse marks the project as
having performed a full build. This is fair enough as how could it know
what the Make Target will do? But, the problem is that when the project
is marked as having had a full build, the Coverity plug-in won't allow a
"Partial Analysis" even though most of the time we have genuinely only
performed an incremental build.
Perhaps there is a whole other solution to this? I can see the problems
of using Make Targets can not easily or elegantly be worked around.
>
>> Is there a way to configure this? Or could someone point me at the
>> relevant plug-in code?
> You could check org.eclipse.cdt.make.internal.core.MakeTarget.build() code.
Thanks!
Jon
>
>> Thanks,
>> Jon
>
> Andrew
>
|
|
|
Powered by
FUDForum. Page generated in 0.04849 seconds