问题
In eclipse, my plugin is trying to programmatically set the build settings (defines, include paths) for each C/C++ source file separately. I have found the CExternalSettingsProvider extension point, but the getSettings
method only receives the build configuration and an IProject. Is there an extension point with a method that receives the actual file being built, so that individual settings can be provided for it?
来源:https://stackoverflow.com/questions/59861100/eclipse-cdt-which-extension-point-to-provide-per-file-build-settings