做了一点用 xmake 为 nodejs 和 python 构建包的工作: 这是用 C 的 node_apii.h 或C++ 的 napi.h 写一个 nodejs 模块 ***s://github***/xmake-io/xmake-wheel/tree/main/examples/nodejs/1_hello_worl xmake 目录下用 C 的 python.h 或C++ 的 pybind11.h 或 cython 写一个 python 模块 ***s://github***/xmake-io/xmake-python/tree/main/tests/examples 比较一下,nodejs 模块官方推荐的构建系统是 gyp ,也有第三方 cmake.js 支持使用 cmake,我尝试添加了 xmake 对 node…。
上一篇: 为什么一些人喜欢去掉 Vim 欢迎页上的“帮助乌干达的可怜儿童”?
下一篇: 如何评价钟南山院士?