Next: Defining tool switches, Previous: Defining supported languages, Up: Adding support for new tools
It is possible to define the command line that should be used for a tool when the user is using the default project, or hasn't overridden this command line in the project.
This is done through the <initial-cmd-line>
tag, as a child of the
<tool>
tag. Its value is the command line that would be passed to the
tool. This command line is parsed as usual, e.g. quotes are taken into account
to avoid splitting switches each time a space is encountered.
<?xml version="1.0" ?> <my_tool> <tool name="My tool" > <initial-cmd-line>-a -b -c</initial-cmd-line> </tool> </my_tool>