-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
cmakelists 生成不支持编译器 flags #5471
Comments
Title: cmakelists generation does not support compiler flags |
试下这个 patch #5487 xmake update -s github:xmake-io/xmake#cmake |
我已经更新到了新的分支, 但我遇到了一个问题:
|
再试试 |
try again |
可以了么 |
Is it ok? |
我遇到了新的问题: PS: 作者是否可以支持 set runtimes的编译器 flag 呢?( 使用 if 配置很痛苦 ) if "clang" == get_config("toolchain") then
set_runtimes("c++_shared")
elseif "gcc" == get_config("toolchain") then
set_runtimes("stdc++_static")
end |
不同的问题不要混一起,这个跟当前的 issues 无关。如果当前的 issues 确认已经修复,我就 close 了。。 其他的问题 单独开 issues |
好的, 谢谢作者了 |
Don't mix different issues together. This has nothing to do with the current issues. If the current issues are confirmed to have been fixed, I will close them. . Open other issues separately |
Okay, thank you author |
Xmake 版本
2.9.4
操作系统版本和架构
Windows 11 version 23H2
描述问题
xmake project -k cmakelists 生成 cmakelists
期待的结果
工程配置
附加信息和错误日志
The text was updated successfully, but these errors were encountered: