Skip to content

targetname

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 base file name for the compiled binary target.

targetname ("name")

By default, the project name will be used as the file name of the compiled binary target. A Windows executable project named "MyProject" will produce a binary named MyProject.exe. The targetname function allows you to change this default.

Parameters

name is the new base file name.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

targetname "mytarget"

See Also

Clone this wiki locally