fconfigure.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:fcompile 作者: azag0 项目源码 文件源码
def configure(sources: Iterable[Path],
              cmd: str,
              blddir: Path,
              out: IO[str] = sys.stdout) -> None:
    namer = ObjectFileNamer()
    args = cmd.split()
    fortran_tasks = {str(path): {
        'source': str(path),
        'args': args + [str(blddir/namer(path))]
    } for path in sources}
    json.dump(fortran_tasks, out)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号