swiftfn / Cpp4Susans

Tool to automatically create bindings around C++ for other languages, based on Clang/LLVM
1 stars 0 forks source link

Tool to automatically create bindings around C++ for other languages, based on CastXML, which is based on Clang/LLVM

Supported languages:

Successfully works for C++ libraries:

Requirements

Parse C++ headers to CasXML files

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

Generate bindings for C and other languages

Run:

npm run bindings