Closed dbuenzli closed 4 years ago
One way could be to add one more optional parameter (record
, trace
, export
?) to configuration key creation (if you want to capture a derived configuration value you can simply create a private configuration key using the value as the default value). Drivers are then free to interpret this boolean as they wish. In the default driver, any export
ed configuration key would be dumped to a $PKG.config
file.
See also the switch and package configuration variable proposal https://github.com/ocaml/opam/issues/2247
Somehow. See http://opam.ocaml.org/doc/manual/dev-manual.html#sec40.