I am writing a CDT plugin that selects a perticular target hardware depending on the build configuration selected. Each build configuration can have a different target hardware selection.
So I would like to reindex the project is a build configuration is made default. Hence I need to trigger the indexing if a configuration is made "default" based on the target hardware selection for that configuration.
Is there a way to do that?
The UI is such that the target hardware can be choosen via a custom tab extended from org.eclipse.cdt.ui.cPropertyTab. Hence at the time of choosing the target hardware I can check if the configuration to which the property belonged is active and regenerate the indexes. However if the property is changed on a NON-default configuration, but the configuration is made default later, I have no clue how to detect that.
Any help is much appreciated.