Skip to main content

useimportlib

Sets whether or not to generate an import library for a Windows DLL.

useimportlib ("value")

Parameters

value specifies the desired import library behavior:

ValueDescription
DefaultPerforms the toolset default behavior of generating an import library.
OffPrevents the generation of an import library for a Windows DLL.
OnExplicitly generates an import library for a Windows DLL.

Applies To

Project configurations.

Availability

Premake 5.0.0-beta8 or later.

Examples

useimportlib "Off"

See Also