-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
希望能同时配置和支持多个platform #28
Comments
目前这个插件没精力维护,你可以直接提 pr 过来 |
好b( ̄▽ ̄)d |
我正在做这个东西,六月左右就会添加。 |
13 tasks
试下这个 patch #46 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你在什么场景下需要该功能?
我希望这个插件能同时维持多个不同Platform、不同architecture、不同的mode和不同的additional configuration,就像clion的cmake功能那样(clion将一系列编译选项的集合称为profile,这里沿用这个词)。具体来说,就是能同时调用xmake配置不同的profile,也能先后依次构建不同的profile,或者只构建一个profile;每个profile可以被启用或禁用。这样就能同时测试一个项目在不同平台能否都正常编译,而不用反复修改设置。
描述可能的解决方案
参照clion的cmake设置,将platform、architecture、mode和additional configuration这四条设置的组合称为一个profile,允许同时存在多个profile。
每个profile的信息可以存储于
.xmake/platform/architecture/mode/[additional configuration的哈希]
文件夹下,也可以改而存放在.idea文件夹里;相应的,每个target的依赖文件可以存在
build/.deps/[target name]/platform/architecture/mode/[additional configuration的哈希]
文件夹里;编译产生的目标文件可以放在build/.objs/[target name]/platform/architecture/mode/[additional configuration的哈希]
文件夹里;最终产生的二进制文件放在build/[target name]/platform/architecture/mode/[additional configuration的哈希]
文件夹描述你认为的候选方案
No response
其他信息
No response
The text was updated successfully, but these errors were encountered: