protected Compile ( ICompiler comp, IEnumerable |
||
comp | ICompiler | |
args | IEnumerable |
|
stderrfile | string | |
stdoutfile | string | |
includes | List |
|
return | int |
protected virtual int Compile(ICompiler comp, IEnumerable<string> args, string stderrfile, string stdoutfile, List<string> includes)
{
#region compile
var start = DateTime.Now;
using (var stderrfs = new StreamWriter(stderrfile))
{
using (var stdoutfs = new StreamWriter(stdoutfile))
{
var rv = CompileWithStreams(comp, args, stderrfs, stdoutfs, includes);
lastCompileDuration = DateTime.Now.Subtract(start);
return rv;
}
}
#endregion
}