Skip to main content

userelativelinks

Controls whether the linker uses relative or absolute paths for library references.

userelativelinks ("value")

If no value is set for a configuration, the toolset's default behavior will be used.

Parameters​

value specifies the desired behavior:

ValueDescription
DefaultUse the toolset default behavior (Default value)
OnUse relative paths for library references
OffUse absolute paths for library references

Applies To​

Project configurations.

Availability​

Premake 5.0.0-beta8 or later.

Examples​

Use relative paths for library linking:

userelativelinks "On"

See Also​