This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
(rule (with-stdout-to bytecodeonly.ml (echo "")))
|
||||
(rule (with-stdout-to nativeonly.ml (echo "")))
|
||||
(rule (with-stdout-to byteandnative.ml (echo "")))
|
||||
|
||||
(executable
|
||||
(name byteandnative)
|
||||
(modules byteandnative))
|
||||
|
||||
(executable
|
||||
(name bytecodeonly)
|
||||
(modules bytecodeonly)
|
||||
(modes byte))
|
||||
|
||||
(executable
|
||||
(name nativeonly)
|
||||
(modules nativeonly)
|
||||
(modes native))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.6)
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
Generates targets when modes is set for binaries:
|
||||
$ dune build --display short @all 2>&1 | grep '\.bc\|\.exe'
|
||||
ocamlc byteandnative.bc
|
||||
ocamlc bytecodeonly.bc
|
||||
ocamlc bytecodeonly.exe
|
||||
ocamlopt byteandnative.exe
|
||||
ocamlopt nativeonly.exe
|
||||
Loading…
Add table
Add a link
Reference in a new issue