This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
(library
|
||||
(name byteonly)
|
||||
(modes byte))
|
||||
|
||||
(library
|
||||
(name nativeonly)
|
||||
(modes native))
|
||||
|
||||
(library
|
||||
(name byteandnative))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.6)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Generate targets when modes are set for libraries
|
||||
|
||||
$ dune build --display short @all 2>&1 | grep 'cma\|cmxa\|cmxs'
|
||||
ocamlc byteandnative.cma
|
||||
ocamlc byteonly.cma
|
||||
ocamlopt byteandnative.{a,cmxa}
|
||||
ocamlopt nativeonly.{a,cmxa}
|
||||
ocamlopt byteandnative.cmxs
|
||||
ocamlopt nativeonly.cmxs
|
||||
Loading…
Add table
Add a link
Reference in a new issue