Skip to content

linkdependencies

Tom van Dijck edited this page Jun 4, 2015 · 3 revisions

Setup library dependencies to a set of packages.

The simple form will just import any lib that is part of a package.

linkdependencies
{
    'Blizzard Standard Template Library'
}

The complex form allows you to filter for specific libraries.

linkdependencies
{
    ['DirectX SDK'] = { 'd3d9', 'd3dx9' }
}

Both forms can be combined in a single table

linkdependencies
{
    'Blizzard Standard Template Library',
    ['DirectX SDK'] = { 'd3d9', 'd3dx9' }
}

More is explained about that here

Parameters

A list of package names, or a table of tables...

Applies To

Any configuration

Availability

Premake 5.0.0 or later.

Clone this wiki locally