I have written a Julia wrapper for a C++ library using CxxWrapper
. I don’t have much experience with C++ but I managed to compile everything with cmake
into a shared library and I can call the function I want from within Julia.
My question is now how do I package everything so that people can just install the package? Do I dump the build recipe into builds.jl
? How do I make sure that cmake
finds jlcxx/jlcxx.hpp
? The instructions for CxxWrap
say to use -DCMAKE_PREFIX_PATH
but that seems a bit cumbersome. Is there an automated way for cmake
to find jlcxx/jlcxx.hpp
?