Builds an executable by linking together one or more libraries.
Executable( alias ) ; (optional) Alias
{
.Linker ; Linker executable to use
.LinkerOutput ; Ouput from linker
.LinkerOptions ; Options to pass to linker
.Libraries ; Libraries to link into executable
.LinkerLinkObjects ; (optional) Link objects used to make libs instead of libs (default false)
.LinkerAssemblyResources ; (optional) List of assembly resources to use with %3
.LinkerStampExe ; (optional) Executable to run post-link to "stamp" executable in-place
.LinkerStampExeArgs ; (optional) Arguments to pass to LinkerStampExe
.LinkerType ; (optional) Specify the linker type. Valid options include:
; auto, msvc, gcc, snc-ps3, clang-orbis, greenhills-exlr, codewarrior-ld
; Default is 'auto' (use the linker executable name to detect)
}
Build-Time Substitutions
- LinkerOptions
- %1 - Input file(s) for the link, as specified by the 'Libraries' parameter.
- %2 - Output assembly as specified by 'LinkerOutput'.
- %3 - AssemblyResources as specified in 'LinkerAssemblyResources'. For use with /ASSEMBLYRESOURCE"%3" (MSVC Only)