Skip to content

targetprefix

starkos edited this page Apr 10, 2021 · 7 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Specifies the file name prefix for the compiled binary target.

targetprefix ("prefix")

By default, the system naming convention will be used: a "lib" prefix for POSIX libraries (as in libMyProject.so), and no prefix elsewhere. The targetprefix function allows you to change this default.

Parameters

prefix is the new file name prefix.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

targetprefix "plugin"

The prefix may also be set to an empty string for no prefix.

targetprefix ""

See Also

Clone this wiki locally