Inari0

Results 86 comments of Inari0
trafficstars

要生成c_cpp_properties.json还得探测arch、compiler、cStandard和cppStandard,这些xmake中怎么实现呢

> cStandard,cppStandard 如果 xmake.lua 有设置 set_languages ,那么应该走 compile_commands 去覆盖它们,如果没有走默认全局的话,你可以根据当前编译平台和编译器 写死个默认值 vscode只会采用全局cppStandard(没设置就默认c11和c++17),不会读取compile_commands里面的std flag,这里还要手动取出xmake中最新的language standard

这个能不能探测一下本地配置?因为要同时跑多个option配置的程序,buildir经常切换,在设置里来回切太麻烦了

https://github.com/google/filament/issues/2580 please make sure you are using clang instead of gcc. `xmake f --toolchain=clang`

Could you please update your xmake version to 2.6.6 and try it again? I'm wondering where did the flag `-lstdc++` come from. @waruqi It should be `-lc++` and `-lc++abi` for...

`add_cxflags("-ffast-math")` or `add_cxflags("-fno-builtin")` may help

![image](https://user-images.githubusercontent.com/42310255/170505858-1f9ebf2e-48a7-4afe-843b-ceb8a7efdf3a.png) Why is here "-s" flag for the linker? Does it work without this flag? Currently I can't find any differences between the command line args and that recommended by...

> I think the filament package should be improved and installed using source compilation. the linux precompiled packages use clang, so the user has to be required to use clang...

> 这个需要额外 link gtk库了,目前还没收录 gtk 相关库,只能先暂时等等了。。 可以先把gtk做成fetch-only的,只fetch系统安装的gtk,从源码安装以后再弄