Reputation: 41853
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?
Upvotes: 2
Views: 1282
Reputation: 1326782
The article "Extending the Eclipse CDT Managed Build System" can give a concrete example of the managed build system (MBS) of CDT.
The MBS can be extended by modifying/adding a "tool" to the tool-chain (An ordered set of tools used to transform the project resources into the final output (build artifacts) of the project)
You should be able to add your tool, and set it up to be active for each file modification.
Upvotes: 2
Reputation: 328724
Open the properties of your project. There is an entry "Builders" where you can add other executables to the build.
Upvotes: 0