-
-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加自定义其他编译器添加选项文件的选项功能 #4870
Comments
Title: Add the option function of customizing other compilers to add option files In what scenario do you need this feature?When using a non-GCC compiler (such as TASKING), the added option file does not use the Describe possible solutionsI hope you can add configuration to customize this option, and then default to the Describe your alternativesnone other informationNo response |
这个目前没办法,只能提 pr 给 xmake ,让它内置支持未知 compiler 的处理,目前的 custom toolchain 只能对已知的 compiler 进行自定义,比如 gcc/clang系,msvc, ... 除非后续提供开放式 api 能够完整自定义扩展未知编译器的支持,但这个需要很多的工作量,并且需要花时间去设计 api 暂时没空搞。。 所以你想支持使用未知编译器,要么直接提 pr 过来支持上,要么提 feature request 到 issues,然后耐心等待 |
There is currently no way to do this. We can only submit pr to xmake so that it has built-in support for unknown compiler processing. The current custom toolchain can only customize known compilers, such as gcc/clang system, msvc,... Unless an open API is provided in the future that can completely customize and extend the support of unknown compilers, this will require a lot of work and will take time to design the API, which I have no time to do at the moment. . So if you want to support the use of unknown compilers, you can either directly submit a PR for support, or submit a feature request to issues, and then wait patiently. |
你在什么场景下需要该功能?
使用非GCC系的编译器(例如TASKING)时,添加选项文件不是使用
@file
格式,所以无法使用xmake构建。参考 #4855描述可能的解决方案
希望可以添加配置自定义该选项,然后默认为
@file
形式。描述你认为的候选方案
无
其他信息
No response
The text was updated successfully, but these errors were encountered: