Hi Delicia,
 
I think you will have to extend MBS using
extension point org.eclipse.cdt.managedbuilder.core.buildDefinitions and keep
rest of classes same and add your tool (toolABC) to it. You will have to add
this tool before the compiler so that the MakeFileGenerator will create a new
target for your .cla files.
 
Regards
-Sanchali
 
 
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Delicia
Sent: Monday, September 18, 2006
6:52 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Order of tool
invocation
 
 
  The MBS invokes tools in the correct order,
i.e. broadly: compile - <assemble> - link
 
Apart from these standard tools, my toolchain has additional
tools which should fit 
 
into specific stages of the build process.
 
E.g. 'toolABC' builds ".cla" files and generates a
header file <hdr1.h>, which is included in a ".c" file built by
the C compiler tool
 
The dependency file (.d) generated by the C compiler handles
the .c <-> .h dependencies.
 
How can I ensure that 'toolABC' is invoked before the C
compiler tool?
 
Is there an existing class which can be used to specify/edit
the tool invocation order?
 
Currently, I workaround this by using the
'additionalInput (additionalDependency)' attribute.
 
But this introduces a huge drawback - everytime there's
a small change in a single .cla file, all .c files are rebuilt.
 
This is rather painful when the project is big, and contains
a large number of .c sources.
 
Any help would be appreciated.