AvalonStudio.Toolchains.Llilum.LlilumToolchain.GetLinkerArguments C# (CSharp) Method

GetLinkerArguments() public method

public GetLinkerArguments ( IStandardProject superProject, IStandardProject project ) : string
superProject IStandardProject
project IStandardProject
return string
		public override string GetLinkerArguments(IStandardProject superProject, IStandardProject project)
		{
			var result = string.Empty;

			foreach (var arg in project.ToolChainArguments)
			{
				result += string.Format(" {0}", arg);
			}

			foreach (var arg in project.LinkerArguments)
			{
				result += string.Format(" {0}", arg);
			}

			result += string.Format(" -L{0} -Wl,-T\"{1}\"", project.CurrentDirectory, "link.ld");

			return result;
		}