ocaml/dune

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

开放

#803 创建于 2018年5月25日

 (5 条评论) (0 个反应) (0 位负责人)OCaml (478 个派生)github user discovery
help wantedrule

仓库指标

星标
 (1,882 个星标)
PR 合并指标
 (平均合并 1天 20小时) (30 天内合并 345 个 PR)

描述

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).

贡献者指南