Build Steps for Makefile Project in Eclipse

I am trying to use Eclipse to build some existing software (written in C), which is built with a Makefile. For this reason I created a 'Makefile project' in Eclipse.

However, I just found out, the in the 'C/C++ Build / Settings' menu, I only see the 'Binary Parsers' and 'Error Parsers' tabs. However, I really need the 'Build Steps' tabs, because I also need to add a post-build command.

How can I make the 'Build Steps' tab appear in my project?


You should include those steps in the makefile. The reason pre-build and post-build steps are included in the default Eclipse C++ projects is that in that case Eclipse generates the makefile automatically, so if you want to do anything apart from building your code, you need to do it separately. But if you create the Makefile yourself, then you can include pre- and post-build steps in it.

链接地址: http://www.djcxy.com/p/29596.html

上一篇: 通过SSH使用Eclipse处理远程项目

下一篇: 在Eclipse中构建Makefile项目的步骤