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: 5285 Reporter:@ygrek Status: resolved (set by @damiendoligez on 2017-03-03T14:59:14Z) Resolution: suspended Priority: normal Severity: feature Version: 3.11.2 Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Monitored by: mehdi @glondu
Bug description
Sometimes it is desirable to keep generated files (e.g. some source-to-source transformation or code generation by third-party tools) in VCS and hence in source directory, not in _build. But all custom myocamlbuild rules get executed in _build and the result is also stored there. Moreover, copying result to the source directory prevents ocamlbuild from rebuilding it on the next run.
Currently I am using extra rules in Makefile to generate such files.
I wish I could specify these rules in myocamlbuild (maybe some per-rule flag to run it in source directory (but that would probably break parallel building because of process-wide chdir effect). Any ideas?
The text was updated successfully, but these errors were encountered:
Original bug ID: 5285
Reporter: @ygrek
Status: resolved (set by @damiendoligez on 2017-03-03T14:59:14Z)
Resolution: suspended
Priority: normal
Severity: feature
Version: 3.11.2
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: mehdi @glondu
Bug description
Sometimes it is desirable to keep generated files (e.g. some source-to-source transformation or code generation by third-party tools) in VCS and hence in source directory, not in _build. But all custom myocamlbuild rules get executed in _build and the result is also stored there. Moreover, copying result to the source directory prevents ocamlbuild from rebuilding it on the next run.
Currently I am using extra rules in Makefile to generate such files.
I wish I could specify these rules in myocamlbuild (maybe some per-rule flag to run it in source directory (but that would probably break parallel building because of process-wide chdir effect). Any ideas?
The text was updated successfully, but these errors were encountered: