private void GenerateLinkerScript(IStandardProject project) { var settings = GetSettings(project).LinkSettings; var template = new ArmGCCLinkTemplate(settings); var linkerScript = GetLinkerScriptLocation(project); if (System.IO.File.Exists(linkerScript)) { System.IO.File.Delete(linkerScript); } var sw = System.IO.File.CreateText(linkerScript); sw.Write(template.TransformText()); sw.Close(); }
private void GenerateLinkerScript(IStandardProject project) { var settings = GetSettings(project).LinkSettings; var template = new ArmGCCLinkTemplate(settings); var linkerScript = GetLinkerScriptLocation(project); if (System.IO.File.Exists(linkerScript)) { System.IO.File.Delete(linkerScript); } var sw = System.IO.File.CreateText(linkerScript); sw.Write(template.TransformText()); sw.Close(); }