Fpm 版本 0.7.0 已发布
目录
Fpm 版本 0.7.0 已发布¶
此版本在 fpm.toml
清单中引入了预处理程序支持,支持预处理程序宏、文件后缀和预处理程序应运行的目录。此功能已作为阿尔蒂夫·赖纳的 2022 年 Google Summer of Code 项目的一部分实现。此外,除了 Fortran 和 C 之外,fpm 现在还能够编译 C++ 源文件。最后,还增加了在 fpm.toml
清单中定义编译器配置文件的能力,尽管目前构建过程中未使用配置文件设置。
在此处查找完整的版本说明 此处。
非常感谢刘易斯·麦克米伦 (@lewisfish)、戴米安·鲁逊 (@rouson)、贾尼斯·尼基特斯 (@gnikit)、劳伦斯·凯德沃德 (@LKedward)、塞巴斯蒂安·埃勒特 (@awvwgk)、左治华 (@zoziha)、雅各布·杰利内克 (@kubajj)、阿尔蒂夫·赖纳 (@arteevraina) 为此版本贡献补丁。
变更日志¶
特性:在 https://github.com/fortran-lang/fpm/pull/715 中添加基本预处理表配置
在 README.md 中增加家庭酿造安装说明 by in https://github.com/fortran-lang/fpm/pull/718
一些清理和次要修复 by in https://github.com/fortran-lang/fpm/pull/701
特色:从清单中读取宏的能力 by in https://github.com/fortran-lang/fpm/pull/720
支持相对于 fpm.toml 依赖路径,它由 in https://github.com/fortran-lang/fpm/pull/719
特色:增加对 C++ 文件编译的支持 by in https://github.com/fortran-lang/fpm/pull/733
修复可执行链接 by in https://github.com/fortran-lang/fpm/pull/743
使用工作树/git-dir 更改 git 目录 by in https://github.com/fortran-lang/fpm/pull/747
修复 #734:先解析依赖,再解析程序 by in https://github.com/fortran-lang/fpm/pull/737
文档(README):改进 Homebrew 参考 by in https://github.com/fortran-lang/fpm/pull/745
对
fpm new
的次要修复 by in https://github.com/fortran-lang/fpm/pull/739文档:更新示例包 README,其中包含新添加的包 by in https://github.com/fortran-lang/fpm/pull/740
在 toml 中启用配置文件 by in https://github.com/fortran-lang/fpm/pull/653
更新帮助部分中的清单文件 URL by in https://github.com/fortran-lang/fpm/pull/755
修复使用 NAG 进行编译 by in https://github.com/fortran-lang/fpm/pull/753
修复 #756:增加宏分配状态判断 by in https://github.com/fortran-lang/fpm/pull/762
在命令行子命令的默认情况下,停止
fpm
及时运行 by in https://github.com/fortran-lang/fpm/pull/728禁止 IBM XL 编译器的 C 式转义 by in https://github.com/fortran-lang/fpm/pull/764
缺陷:C 预处理器不向可执行文件传播指令 by in https://github.com/fortran-lang/fpm/pull/775
缺陷:宏未传播到 C 可执行文件 by in https://github.com/fortran-lang/fpm/pull/779
为依赖启用 cpp 预处理器标志 by in https://github.com/fortran-lang/fpm/pull/783
将版本提升至 0.7.0 by in https://github.com/fortran-lang/fpm/pull/785