Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想象一下使用 GPRbuild 和单个*.gpr项目文件构建的大型 Ada 项目。源目录包含许多 Ada 包规范和正文文件,但其中一些不是构建项目(可执行文件)所必需的。
*.gpr
GPRbuild 是否提供类似报告功能的功能,列出构建项目所需的所有文件?这将允许我删除未使用的源文件。
你可以玩
-gnatu 列出本次编译的单元
像这样:
gprbuild -P foo.gpr -cargs -gnatu