Cxx.jl
Cxx.jl copied to clipboard
Can I use Cxx REPL while by including
I use a bootstrap.jl
to simplify my julia environment startup, like this:
# bootstrap.jl
PREFIX = ENV["PREFIX"]
using Cxx
addHeaderDir(joinpath(PREFIX, "include"))
addHeaderDir("/usr/include")
addHeaderDir("/usr/include/eigen3")
and I start julia by julia-1.3.1 --project=demo -i -e 'include("bootstrap.jl")'
But by this method, I cannot activate Cxx REPL by <
shortcut.
How can I activate Cxx REPL in this manner?
If I do not use a bootstrap.jl
, just start julia-1.3.1 and using Cxx
there, I can activate Cxx REPL by <