Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Need help with Rake
Need help with Rake [message #212759] Wed, 26 March 2008 16:28 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Need help with Rake [message #1738503 is a reply to message #212767] Wed, 20 July 2016 11:37 Go to previous message
Tatiana Ch is currently offline Tatiana ChFriend
Messages: 1
Registered: July 2016
Junior Member
Please help with the similar issue.
How to make Eclipse build with rake in Windows.
Previous Topic:Building a project retracts the directory list
Next Topic:Trace method could not be selected
Goto Forum:
  


Current Time: Fri May 10 04:43:45 GMT 2024

Powered by FUDForum. Page generated in 0.02740 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top