| Anonymous | Login | Signup for a new account | 2013-05-19 19:14 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005227 | OCaml | OCamlbuild (the tool) | public | 2011-02-18 10:29 | 2011-06-06 13:02 | ||||||
| Reporter | daweil | ||||||||||
| Assigned To | xclerc | ||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0005227: possibility to call ocamlbuild from a sub-directory | ||||||||||
| Description | I'm working on a multi-directory project for example : +-+- A/ | +- a1.ml | +- ... | +- aN.ml | +-+- B/ | +- b1.ml | +- ... | +- bN.ml | +-+- Main/ +- main.ml (depending on a.cma and b.cma) So far, the only way to compile my project is to call ocamlbuild from root directory. While I'm editing b1.ml in directory B, I would like to compile it with the command "ocamlbuild b1.cmo". This is not possible so far : I have to go in root directory and type "ocamlbuild B/b1.ml". My wish would be something like a "-root" option to specific from which parent directory ocamlbuild should be called. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0005824) daweil (reporter) 2011-02-18 16:26 |
I tried to modify myself the source code by adding a -root-dir option in ocamlbuild/options.ml but I could find myself where to make the call to Sys.chdir (or Shell.chdir)... |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-02-18 10:29 | daweil | New Issue | |
| 2011-02-18 16:26 | daweil | Note Added: 0005824 | |
| 2011-05-17 16:15 | doligez | Status | new => acknowledged |
| 2011-06-06 13:02 | xclerc | Status | acknowledged => assigned |
| 2011-06-06 13:02 | xclerc | Assigned To | => xclerc |
| 2012-02-02 15:17 | protz | Category | OCamlbuild => OCamlbuild (the tool) |
| Copyright © 2000 - 2011 MantisBT Group |