I am using dune to compile my project. I found that once I split it into multiple files, I had to put this in _CoqProject
:
-R _build/default/src cdage
i.e. use dune's build directory to read the compiled modules from. But this seems wrong. Is it OK or is there a better way?
Adding _build/default
is indeed the current hack
we're waiting for something better
but I'd recommend -Q
not -R
for new code
(Maybe we should start deprecating -R
altogether)
We have an issue here https://github.com/ProofGeneral/PG/issues/477 , but indeed it is open what to do
Generating _CoqProject
is a tad fragile as they cannot capture all the cases
Last updated: Jun 04 2023 at 23:30 UTC