Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Build settings restore defaults : what about project settings ?(How can I set persistent project based C/C++ build settings ?)
Build settings restore defaults : what about project settings ? [message #1758384] Tue, 28 March 2017 09:17
cartu38 opendev is currently offline cartu38 opendevFriend
Messages: 3
Registered: March 2017
Junior Member
All,

I need to promote some project based parameters within C/C++ build / Settings / Tool settings properties. Basically I need to highlight which is my target device as some build option are moving with.

I've a try to rely on org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point adding some option to my toolchain. Such is working : all sounds good as I'm getting my option visible, properly set etc. ... but Restore defaults button usage.

Using such button resets all my build settings including my target definition option to default : what's obvious. But according to my understanding defaults sounds like static defaults. Static means application based not project based. Obviously my target option is project based ... here is my issue.

I have noticed Restore defaults button is a build settings page object (org.eclipse.cdt.managedbuilder.ui.properties.Page_BuildSettings class). Means such button usage, whatever setting tab active, resets all settings tabs material.

As work around I may promote a custom tab to such build settings page implementing org.eclipse.cdt.ui.newui.AbstractCPropertyTab class and related performDefaults method but from a end user point of view having two tabs embedding tool settings concerns is quite bad ...

Any idea to disable or override or ... such Restore defaults behavior (only way to hide it is at tab creation but no control on as CDT material) ?

Or any idea to support / implement project based build settings tool chain options / parameters ?

Thks for comments / help.
Br
Previous Topic:resolve symbolic links / linux
Next Topic:Building cdt plugin from source
Goto Forum:
  


Current Time: Wed Apr 24 20:50:55 GMT 2024

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

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

Back to the top