Build settings restore defaults : what about project settings ? [message #1758384] |
Tue, 28 March 2017 09:17 |
cartu38 opendev 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
|
|
|
Powered by
FUDForum. Page generated in 0.02839 seconds