views:

212

answers:

2

I have a tool that converts an data file into a C header file for inclusion into my project. Now I would like to have this tool run automatically during make whenever the data file changes.

Where can I tell Eclipse CDT which tool to run and what data file the header depends on?

A: 

Open the properties of your project. There is an entry "Builders" where you can add other executables to the build.

Aaron Digulla
Thanks. However, this ALWAYS executes the builder, not only when the input file changed. How can I tell about the dependencies?
Ber
Not this way, sorry. This is just a simple way to add extra builders. The makefile must contain the rules to handle the dependencies.
Aaron Digulla
+1  A: 
VonC