private bool DoExecute() { var xNasmTask = new NAsmTask(); xNasmTask.InputFile = InputFile; xNasmTask.OutputFile = OutputFile; xNasmTask.IsELF = IsELF; xNasmTask.ExePath = ExePath; return xNasmTask.Execute(); }
private bool DoExecute() { var xNasmTask = new NAsmTask(); xNasmTask.InputFile = InputFile; xNasmTask.OutputFile = OutputFile; xNasmTask.IsELF = IsELF; xNasmTask.ExePath = ExePath; xNasmTask.LogMessage = s => Log.LogMessage(s); xNasmTask.LogError = s => Log.LogError(s); return xNasmTask.Execute(); }
private bool DoExecute() { var xNasmTask = new NAsmTask(); xNasmTask.InputFile = InputFile; xNasmTask.OutputFile = OutputFile; xNasmTask.IsELF = IsELF; xNasmTask.ExePath = ExePath; xNasmTask.LogMessage = s => Log.LogMessage(s); xNasmTask.LogError = s => Log.LogError(s); return(xNasmTask.Execute()); }
private void RunNasm(string inputFile, string outputFile, bool isElf) { var xNasmTask = new NAsmTask(); xNasmTask.InputFile = inputFile; xNasmTask.OutputFile = outputFile; xNasmTask.IsELF = isElf; xNasmTask.ExePath = Path.Combine(GetCosmosUserkitFolder(), "build", "tools", "nasm", "nasm.exe"); xNasmTask.LogMessage = OutputHandler.LogMessage; xNasmTask.LogError = OutputHandler.LogError; if (!xNasmTask.Execute()) { throw new Exception("Error running nasm!"); } }