| 
| running make in directory outside the project [message #151093] | Fri, 12 August 2005 11:45  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: michal.schulz.gmx.de 
 Hello.
 
 I'm new and quite happy user of eclipse and CDT. I have only one problem.
 
 The project I work on is quite big (180MB approximatelly) with tons of
 files. If I would turn indexing on, eclipse would need ages to go through
 all files and index them. Also, updating project after build is awfully
 slow.
 
 Due to nature of this project, I can work on one of modules only, and thus
 keep the ability of indexing and fast responsivity of eclipse. However, I
 have to tell eclipse that the project directory resides somewhere within my
 big project.
 
 Can I force eclipse to start makefile in specified directory, whereas the
 directory is outside the project managed by eclipse?
 
 Regards,
 Michal.
 |  |  |  | 
|  | 
|  | 
| 
| Re: running make in directory outside the project [message #151127 is a reply to message #151093] | Sun, 14 August 2005 15:29   |  | 
| Eclipse User  |  |  |  |  | Michal Schulz wrote: > Hello.
 >
 > I'm new and quite happy user of eclipse and CDT. I have only one problem.
 >
 > The project I work on is quite big (180MB approximatelly) with tons of
 > files. If I would turn indexing on, eclipse would need ages to go through
 > all files and index them. Also, updating project after build is awfully
 > slow.
 >
 > Due to nature of this project, I can work on one of modules only, and thus
 > keep the ability of indexing and fast responsivity of eclipse. However, I
 > have to tell eclipse that the project directory resides somewhere within my
 > big project.
 >
 > Can I force eclipse to start makefile in specified directory, whereas the
 > directory is outside the project managed by eclipse?
 >
 > Regards,
 > Michal.
 >
 That's what I'm doing in my environment. If you are not using "managed
 make" (and since working with big "legacy" project I assume you don't)
 you can specify any build command you like.
 I'm using something like this as a build command:
 make -C /my_home_dir/root_of_my_project -f our_very_fat_makefile
 Than in fields that specify targets for building, rebuilding and
 cleaning I specify targets from the fat_makefile related to my module.
 Regards,
 CK
 |  |  |  | 
|  | 
| 
| Re: running make in directory outside the project [message #151339 is a reply to message #151143] | Wed, 17 August 2005 05:08  |  | 
| Eclipse User  |  |  |  |  | Michal Schulz wrote: > Czerwony Kapturek wrote:
 >
 >
 >>That's what I'm doing in my environment. If you are not using "managed
 >>make" (and since working with big "legacy" project I assume you don't)
 >>you can specify any build command you like.
 >>I'm using something like this as a build command:
 >>make -C /my_home_dir/root_of_my_project -f our_very_fat_makefile
 >
 >
 > Thanks!
 >
 > I've never thought that the solution might be so simple :)
 >
 > regards,
 > M.
 >
 You are welcome.
 One more tip: when specifying path to the maim makefile you could use
 ${project_loc} variable and path relative to your .project. Saves some
 time when working on multiple source trees.
 CK
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04128 seconds