wondering how xmake handle third-party libraries and internal module for c project. I think the combination of xmake and clib is a double win :)
xmake can integrate local packages automatically now.
You can refer to https://github.com/waruqi/tbox/blob/master/src/tbox/xmake.lua
and the packges https://github.com/waruqi/tbox/tree/master/pkg
xmake will suport manage package and dependencies in the next version.
and it will be able to patch and compile third-party libraries for the cross-platform automatically.