I am trying to create a Julia package that bundles with it some C++ code
(in this case, just a single file). I would like, when installing the
package, to have the C++ code compiled as a shared library which then a
Julia module in the package can ccall into. What is the best way to do
this? I am looking into the BinDeps package, but that seems to pull in
dependencies from web sources rather than compile local files. Furthermore,
the C++ code needs to link against Julia's Lapack library, which I also am
unsure how to do.