Skip to content

xcode_weaklinks

James Touton edited this page Jun 4, 2015 · 2 revisions

Specifies a set of dynamic libraries as optional.

links {
	'libMyWeakLib.dylib', -- set the link order
	'libMyNormalLib.dylib'
}
xcode_weaklinks {
	'libMyWeakLib.dylib' -- mark MyWeakLib as optional
}

Parameters

A list of libraries; see the links command for details.

Note: This command does not add new libraries to the links list. In order to provide the user with control over the link order, all libraries must be specified both as links and as xcode_weaklinks.

Applies To

Solutions, projects, and configurations.

Availability

Premake 5.0.0 or later.

Clone this wiki locally