Compiling ocaml files from a "remote" toplevel
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
I have two OCaml project directories, Controller_Dir and Controlled_Dir. I am inside a toplevel located in Controller_Dir. From that toplevel, I would like to compile the ocaml files contained in Controlled_Dir. If I were outside the toplevel, I would simply type : cd Controlled_Dir ocamlc wathever_I_want_to_compile cd Controller_Dir How would I "translate" this in the toplevel ? I tried Sys.command-ing everything, but unfortunately this does not work for the cd command.