ocaml/dune

Support for compiling and linking non-C objects (such as Fortran)

オープン

#803 opened on 2018/05/25

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)OCaml (478 件のフォーク)github user discovery
help wantedrule

Repository metrics

Stars
 (1,882 個のスター)
PR merge metrics
 (平均マージ 1d 20h) (30d で 345 merged PRs)

説明

Hi,

I have some F90 code in my project that I'd like to be built and linked with the rest. Is there a way of doing this with Dune? If there is it's not obvious, neither from the documentation nor from a quick glance at the code :) Of course for C it's easy.

For reference with Oasis & Ocamlbuild I use an .f90-to-.o rule in myocamlbuild.ml and then I cheat by telling Oasis that it's C code (i.e. I say CSources: foo.c when in reality the file is foo.f90).

コントリビューターガイド