Hi all,

I made a small [a small demo 
app](https://github.com/deech/libclang_nim_demo_app) that shows how to use Nim 
to make standalone applications that use [Libclang 
10](https://clang.llvm.org/docs/Tooling.html) . In addition to a full set of 
[bindings](https://github.com/deech/libclang_bindings) it also pulls in a 
custom [CMake recipe](https://github.com/deech/libclang-static-build) that can 
compile libclang as a static archive across platforms. But you don't have to 
know any of that because it is managed for you by the package manager so 
building the app is a 2 step process of `nimble setup` followed by `nimble 
build`.

The goal is to make Nim apps pinned to a version of `libclang` as easy as 
possible; they have very few runtime dependencies can can be easily deployed as 
a single binary without having to fiddle with bundling shared libraries and 
configure paths.

Reply via email to