Tool to automatically create bindings around C++ for other languages, based on CastXML, which is based on Clang/LLVM
Supported languages:
- Swift: in progress
- Other languages: please contribute
Successfully works for C++ libraries:
- Skia: in progress
- Other libraries: please try and report
Copy config.js.sample
to config.js
and modify if neccessary, then run:
npm run castxml
On Mac, if you see the annoying warning "cannot be opened because the developer cannot be verified", you can disable it:
sudo spctl --master-disable
Run:
npm run bindings