用于从 Eclipse 的 .cproject 文件生成 makefile 的独立工具?
是否有一个独立的工具,可以从 shell 脚本运行,从 .cproject 生成 makefile?实际上,与 CDT 本身的功能相同,但可以是非交互式的。
很明显,我希望能够运行一个脚本来检查和构建软件,其中包括多个 C++ 项目。我试图避免迁移到像 Maven 这样的构建系统,因为它在我们项目的早期阶段似乎是一种开销。谢谢!
Is there a standalone tool, that can be ran from a shell script, to generate a makefile from the .cproject? Actually, the same functionality as the CDT itself, but that can be non-interactive.
As is probably obvious, I want to be able to run a script that checkouts and builds the software, comprising from several C++ project. I am trying to avoid moving to a build system like maven, as it seems as like an overhead in this early stage of our project. thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道几个月前 CDT-dev 邮件列表上曾讨论过如何使用命令行工具来构建 CDT 项目。编写这样的工具实际上并不是很困难(前面提到了一个示例),只需定义您自己的 Eclipse 应用程序、加载项目并构建它即可。在 CDT-dev 列表中搜索“独立构建”应该会给您一些相关的结果。
I know that there was discussions on the CDT-dev mailinglist a few months back about having a command-line tool for building CDT projects. Writing such a tool is really not very difficult (there was an example mentioned), it is simply a matter of defining your own Eclipse-application, load the project, and build it. Searching the CDT-dev list on "standalone build" should give you some relevant hits.