| Avoid to re-build projects which are referenced [message #1718822] |
Wed, 30 December 2015 13:10  |
Eclipse User |
|
|
|
Hi,
I am building a plugin for an external project, and to be able to inspect the source code of this third party I've added it as a project reference. That works fine, though when building the plugin it invokes `make' for the referenced project as well. While this causes no harm, as there is nothing to update, is there a way to disable this behaviour and having it to compile only the current project?
Thanks
|
|
|
|
| Re: Avoid to re-build projects which are referenced [message #1718868 is a reply to message #1718828] |
Thu, 31 December 2015 07:29  |
Eclipse User |
|
|
|
Hi David, thanks for your answer. I linked the projects because I noticed that with this trick intellisense is able to jump in the definition of a utilised function of the referenced project, otherwise it will only show the declaration in the header. Leaving apart any (good) debate that the header/interface is not documented as it should, reading the definition is the only way to understand the behaviour of the function itself. Whereas running make in the referenced projects without necessity may be just time consuming, even if it does not have to re-build anything, because of the size of the projects (in my case they are LLVM/Clang).
My point is, I assume that the external/referenced projects are libraries and are already built, and there is no necessity to execute `make' on them. I am going to try creating a new build configuration for the external projects, where the build command is a nop. Nevertheless I was looking for a cleaner solution.
|
|
|
Powered by
FUDForum. Page generated in 0.04629 seconds