Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » custom toolchain
custom toolchain [message #198049] Mon, 23 July 2007 20:48 Go to next message
Eclipse User
Originally posted by: dingfelder_nospam.gmail.com

following Mike Jackson's instructions for getting a cmake example to
work on eclipse, you:
Launch Eclipse and go to "New->C++ Project" Menu
then
Select the MakeFile Project type, choose Other Toolchain and click Next
then you
Select the Advanced Settings Button
then
Uncheck the Use Default Build Command
and
Insert the following in the Build Command Text Field: make -C
${project_loc}/Build VERBOSE=1
finally, you
Disclose the "C/C++ Build" options, and select "Settings".
In the Right Side pane select the binary format for your system.
Click on the OK Button. Your project is now ready.

It seems that the bulk of this has to do with configuring the "other
toolchain", and I d not want to have to keep repeating this step for
every c++ cmake project.

Is there a way to define a custom toolchain and set the default
properties?

So then all I would have to do is select "cmake toolchain"


Thoughts?
Re: custom toolchain [message #198065 is a reply to message #198049] Tue, 24 July 2007 03:28 Go to previous message
Eclipse User
Originally posted by: dmsubs.NOSPAM.consertum.com

See the Managed Build System Extensibility Document, which is supplied in the
help of a CDT SDK (the version of CDT that allows you to extend CDT).

HTH

--
Derek


dingfelder wrote:
> following Mike Jackson's instructions for getting a cmake example to
> work on eclipse, you:
> Launch Eclipse and go to "New->C++ Project" Menu
> then
> Select the MakeFile Project type, choose Other Toolchain and click Next
> then you
> Select the Advanced Settings Button
> then
> Uncheck the Use Default Build Command
> and
> Insert the following in the Build Command Text Field: make -C
> ${project_loc}/Build VERBOSE=1
> finally, you
> Disclose the "C/C++ Build" options, and select "Settings".
> In the Right Side pane select the binary format for your system.
> Click on the OK Button. Your project is now ready.
>
> It seems that the bulk of this has to do with configuring the "other
> toolchain", and I d not want to have to keep repeating this step for
> every c++ cmake project.
>
> Is there a way to define a custom toolchain and set the default properties?
>
> So then all I would have to do is select "cmake toolchain"
>
>
> Thoughts?
Previous Topic:Error launching external scanner info generator
Next Topic:Error launching external scanner info generator
Goto Forum:
  


Current Time: Fri Aug 29 06:12:07 EDT 2014

Powered by FUDForum. Page generated in 0.03631 seconds