Eclipse CDT - Which extension point to provide per-file build settings?

若如初见. 提交于 2021-01-28 18:02:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!