JuliaInterop / CxxWrap.jl

Package to make C++ libraries available in Julia
Other
418 stars 67 forks source link

Name of envvar for finding libcxxwrap-julia #184

Closed jstrube closed 4 years ago

jstrube commented 4 years ago

To build CxxWrap against a dev version of libcxxwrap-julia, we should set JLCXX_DIR before Pkg.build("CxxWrap"). However, the CMake project requires the envvar JlCxx_DIR to be set. Not a big deal, but it would be more convenient to require only one envvar.

alhirzel commented 4 years ago

Also, FindJulia currently requires Julia_HOME to be set. I think it may be a good idea to compute all of these paths from JULIA_BINDIR as this seems to be the most canonical (e.g. it is reported by Sys.BINDIR).

barche commented 4 years ago

On the master version, libcxxwrap-julia is set using the JLL package and overrides are done in an Overrides.toml file, see https://github.com/JuliaInterop/libcxxwrap-julia#using-the-compiled-libcxxwrap-julia-in-cxxwrap

Closing this, since it is no longer relevant.