Skip to content

package_auto_includepath

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

Same as auto_includes, except it will only return the first entry as a string.

Example

local p = package.get('blz_concurrent')
if p then
   local path = p.auto_includepath(context)
end

Parameters

context is the current premake 'context', typically 'cfg' or 'prj'.

Applies To

'project' or 'config' configuration.

Availability

Premake 5.0.0 or later.

Clone this wiki locally