manual-ocamlbuild icon indicating copy to clipboard operation
manual-ocamlbuild copied to clipboard

A new reference manual for the ocamlbuild tool

Results 12 manual-ocamlbuild issues
Sort by recently updated
recently updated
newest added

those are very helpful flags that are missing explanations in the doc. I was looking for flambda flags, did not find them, and then recalled there was a way to...

-Oclassic, -O2 etc. should these be added to the docs? or should this issue go to ocamlbuild main?

We should have an explicit example of custom utop build such as [this one](https://github.com/diml/utop/blob/master/examples/custom-utop).

In editing and using this manual I think it is important to get agreement on the layout or outline of each section. In particular, a way of addressing questions such...

A question and not an issue, but are there plans/timeline to merge this manual with the newly created separate ocamlbuild repo? You've made tremendous progress on this manual (Thank you!)...

There is just one sentence explaining these targets, and it only says what `.itarget` is for, not `.otarget`. Confusingly, these extensions are used in the example explaining dynamic dependencies. So...

Say I want this: ``` ocaml $ cat my_build_lib.ml let x = 42 $ cat myocamlbuild.ml let x = My_build_lib.x ``` Now, how can I compile the plugin?

``` $ cat myocamlbuild.ml let x = 42 $ ocamlbuild -just-plugin -plugin-tag "package(opam-lib)" Warning: tag "package" does not expect a parameter, but is used with parameter "opam-lib" Finished, 1 target...

I'm writing a rule like this: ``` ocaml rule ".merlin" ~prod:".merlin" (fun env _ -> Echo (["S ./src/**"], ".merlin")) ``` which produces the file `_build/.merlin`, but we want `.merlin` in...

Within `myocamlbuild.ml`, how can I apply some tags to files matching a filter. I know the recommended way of doing this is to define an `_tags` file, but I don't...