Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Refreshing target definitions

Thanks Marc, 

I agree, target definitions are a great help, both in the IDE as well as to specify the dependencies when building with tycho. 

There are a couple of bugs on the area that make the feature frustrating at times
    e.g https://bugs.eclipse.org/bugs/show_bug.cgi?id=430655

It seems hard to get enough visibility on them to get them investigated / solved

Alvaro




On Wed, Aug 6, 2014 at 12:20 PM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
For those using CDT's target definitions, you may be seeing compilation issues if you import all of CDT.
The target definitions were changed recently but there is a bug that makes your workspace not refresh
them properly.  The workaround is:

1- open org.eclipse.cdt.target/cdt-e4.4.target using a text editor
2- change the version 16 at the top to version 17 and save => this will force a refresh
3- change back to version 16 and save
4- restart eclipse.

Thanks to Alvaro and Marc-Andre for helping me with this.

About target definitions:

The nice thing for me about using target definitions is that I don't  have to install the plugins CDT depends
on anymore, they are automatically made available for compilation.  So I can now import _all_ CDT plugins
and everything always compiles.

To use them, simply do:
1- import into your workspace from CDT's git repo org.eclipse.cdt.target
2- Preferences->Plug-in Development->Target Platform
3- Select cdt_e4.4 and press Apply.

I believe that is all.  Then you can import CDT plugins to your heart's content.

Again, thanks to Alvaro for getting CDT on target definitions in the first place.

Marc


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top