I’d like to add
(modes (byte exe)) to
(executable) section of “dune” file if an environment variable is set or command line argument is provided.
However I couldn’t find anything related in the dune manual. Is it even possible?
dune build path/to/executable.bc
dune build path/to/executable.exe