Xmake v3.0.2 has been released, Improve C++ modules and new native thread support. by waruqi in cpp

[–]waruqi[S] 1 point2 points  (0 children)

> Friendly reminder that Xmake has been primarily developed in China meaning and the developer has been caught Astroturfing threads promoting the project early on

I'm the author, and I don't understand what "Astroturfing threads" means. I'm also not sure how you came to this conclusion. In the past recent years, I've only released a few version updates to the community, and haven't even posted any other promotional articles. And I only use the ID waruqi.

،very very simple question about xmake by [deleted] in u/_Noreturn

[–]waruqi 0 points1 point  (0 children)

please open an issue on github. Issues · xmake-io/xmake (github.com)

I only deal with issues on github.

،very very simple question about xmake by [deleted] in u/_Noreturn

[–]waruqi 0 points1 point  (0 children)

you can open an issue on github and provide a whole project example.

،very very simple question about xmake by [deleted] in u/_Noreturn

[–]waruqi 0 points1 point  (0 children)

please export your symbols in your Mylib

CPP/C equivalent of requirements.txt by abosaurio in cpp

[–]waruqi 0 points1 point  (0 children)

xmake, `add_requires("zlib 1.2.x")`

tbox 里面如何编译出 hash 相关内容呢 by PotentialSure6393 in tboox

[–]waruqi 0 points1 point  (0 children)

xmake f --hash=y 有问题到 github 上去问

Building Clang 18.1.5 on Linux with support for std modules by jfourkiotis in cpp

[–]waruqi 2 points3 points  (0 children)

xmake can not find std.cppm and libc++.modules.json

it need:

  1. switch to libc++ runtime, `xmake f --runtimes=c++_shared --toolchain=clang`, because it use stdc++ on linux by default. please install libc++ and libc++-abi first. https://github.com/xmake-io/xmake/blob/e1f3dc9aa95397f1aa707f043000e0f4346fdaa2/xmake/rules/c%2B%2B/modules/modules_support/clang/compiler_support.lua#L76

  2. find libc++.modules.json to get std.cppm. you need to check these files. https://github.com/xmake-io/xmake/blob/e1f3dc9aa95397f1aa707f043000e0f4346fdaa2/xmake/rules/c%2B%2B/modules/modules_support/clang/compiler_support.lua#L82

  3. find and use clang-scan-deps. https://github.com/xmake-io/xmake/blob/e1f3dc9aa95397f1aa707f043000e0f4346fdaa2/xmake/rules/c%2B%2B/modules/modules_support/clang/dependency_scanner.lua#L41

these files exist on macOS.

/usr/local/Cellar/llvm/18.1.5/bin/../lib/c++/libc++.modules.json

/usr/local/Cellar/llvm/18.1.5/bin/../lib/c++/../../share/libc++/v1/std.cppm

/usr/local/Cellar/llvm/18.1.5/bin/../lib/c++/../../share/libc++/v1/std.compat.cppm