使用m4宏与Eclipse和放大器; Java的 [英] Using m4 macros with Eclipse & Java

查看:319
本文介绍了使用m4宏与Eclipse和放大器; Java的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在Java中为Eclipse开发,即当用m4宏。确保Eclipse编译前的preprocessor自动调用?

Is there a way to use m4 macros when developing in Java for Eclipse, ie. making sure the preprocessor is automatically invoked before Eclipse compiles?

或者有没有人用另一种preprocessor成功与Eclipse?

Or has anyone used another preprocessor successfully with Eclipse?

推荐答案

您可以指定任意建设者的Eclipse项目,并责令该生成器,它是Java生成器运行之前执行。

You can specify an arbitrary builder on an Eclipse project, and order the builder so that it is executed before the Java builder is run.

要定义新的构建器,打开项目属性(右键点击 - >属性或<大骨节病> ALT - <大骨节病>输入),选择建筑工地,然后新... 。选择活动,然后在弹出的对话框配置生成器(希望你知道需要在这里完成),然后选择确定。早在建筑工地页则可以选择新的建设者和选择最多,直到它之前在的Java生成器

To define the new builder, open the project properties (right click->Properties or alt-enter), select Builders then New.... Select Program, then in the dialog configure the builder (hopefully you know what needs to be done here) and select OK. Back in the Builders page you can then select your new builder and select Up until it is before the Java Builder

这篇关于使用m4宏与Eclipse和放大器; Java的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆