Need help with Rake [message #212759] |
Wed, 26 March 2008 16:28 |
Eclipse User |
|
|
|
Originally posted by: shea.snowsquirrel.ca
I have a C++ project which I build with Rake.
* 'rake all' or just 'rake' will build the whole project
* 'rake clean' cleans it.
* To compile a single file, can do 'rake single srcfile=/path/file.cpp'
I am using a gcc compiler, so error messages should be understood.
But it is not the default gcc compiler on the system, it is an
alternative ARM compilers.
I unchecked scanner configuration builder, and cdt builder. I added a
Rake builder, with /usr/bin/rake as the location. Now it always runs
this command. But it doesn't run it with appropriate arugments. i.e.,
if I do a clean, it just runs 'rake'. Under arguments, I need to pass
it the build target. But "Variables..." does not list a target. If it
listed a target, all would be well. How is this done for normal
makefile project in eclipse? I should be able to do it the exact same way.
Also, I am assuming the that 'incremental' means that only the currently
changed file is compiled? Is there that when eclipse wants to compfile
path/file.cpp, I can have it call 'rake single srcfile=path/file.cpp' ?
Any help and comments appreciated.
~S
|
|
|
Re: Need help with Rake [message #212767 is a reply to message #212759] |
Wed, 26 March 2008 16:35 |
Eclipse User |
|
|
|
Originally posted by: shea.snowsquirrel.ca
Shea Martin wrote:
> I have a C++ project which I build with Rake.
>
> * 'rake all' or just 'rake' will build the whole project
> * 'rake clean' cleans it.
> * To compile a single file, can do 'rake single srcfile=/path/file.cpp'
>
> I am using a gcc compiler, so error messages should be understood.
> But it is not the default gcc compiler on the system, it is an
> alternative ARM compilers.
>
> I unchecked scanner configuration builder, and cdt builder. I added a
> Rake builder, with /usr/bin/rake as the location. Now it always runs
> this command. But it doesn't run it with appropriate arugments. i.e.,
> if I do a clean, it just runs 'rake'. Under arguments, I need to pass
> it the build target. But "Variables..." does not list a target. If it
> listed a target, all would be well. How is this done for normal
> makefile project in eclipse? I should be able to do it the exact same way.
>
> Also, I am assuming the that 'incremental' means that only the currently
> changed file is compiled? Is there that when eclipse wants to compfile
> path/file.cpp, I can have it call 'rake single srcfile=path/file.cpp' ?
>
>
> Any help and comments appreciated.
>
> ~S
I forgot:
How do I make my rake builder be used for the auto-error
checking/highlighting feature too.
Thanks,
~S
|
|
|
|
Powered by
FUDForum. Page generated in 0.02740 seconds