public virtual bool IsSupported(ICompiler comp, IEnumerable<string> args)
{
if (FileUtils.Exists(compilerPath))
{
var rv = comp.ProcessArguments(args.ToArray());
if (!rv)
{
Logging.Emit("unsupported args: {0}", string.Join(" ",args.ToArray()));
}
else
{
Logging.Input(comp.WorkingDirectory, comp.ObjectTarget, args);
}
return rv;
}
throw new FileNotFoundException(compilerPath);
}