You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6097 Reporter: meyer Status: resolved (set by @damiendoligez on 2017-03-01T15:37:22Z) Resolution: suspended Priority: normal Severity: feature Version: 4.01.1+dev Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Monitored by:@gasche
Bug description
For instance user wants to options and tags for the js_of_ocaml compiler.
Then in his myocamlbuild.ml (s)he will say (roughly):
let jopts := ref ""
dispatch begin function
| Before_construct_options ->
add_option ("-jopts", String (fun x -> jopts := !jopts ^ " " ^ x, " js_of_ocaml
options")
| _ -> () end
of course that, and possibility of passing the options to the plugin, make is relatively easy to extend ocamlbuild itself not only with rules but also with new funcionality.
Then we can use the new options like this (hypothetically):
Original bug ID: 6097
Reporter: meyer
Status: resolved (set by @damiendoligez on 2017-03-01T15:37:22Z)
Resolution: suspended
Priority: normal
Severity: feature
Version: 4.01.1+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @gasche
Bug description
For instance user wants to options and tags for the js_of_ocaml compiler.
Then in his myocamlbuild.ml (s)he will say (roughly):
let jopts := ref ""
dispatch begin function
| Before_construct_options ->
add_option ("-jopts", String (fun x -> jopts := !jopts ^ " " ^ x, " js_of_ocaml
options")
| _ -> () end
of course that, and possibility of passing the options to the plugin, make is relatively easy to extend ocamlbuild itself not only with rules but also with new funcionality.
Then we can use the new options like this (hypothetically):
(or use _tags to get the same functionality)
The text was updated successfully, but these errors were encountered: