How to add tool to eclipse-cdt to automatically generate header file during make
I have a tool that converts a data file to a C header file for inclusion in my project. Now I would like this tool to run automatically during make whenever the data file changes.
Where can I tell Eclipse CDT which tool to run and which data file depends on the header?
In the article " " Expanding controlled Eclipse CDT build system "can give a specific example of a managed assembly system (MBS) CDT.
MBS can be extended by modifying / adding a "tool" to the tool chain (An ordered set of tools used to transform project resources into the final output (assembly of artifacts) of the project)
You can add your tool and configure it to activate each file modification.
Open your project properties. There is a Builders entry where you can add other executables to the assembly.