Skip to content

targetextension

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 extension for the compiled binary target.

targetextension ("ext")

By default, the project will use the system's normal naming conventions: .exe for Windows executables, .so for Linux shared libraries, and so on. The targetextension function allows you to change this default.

Parameters

ext is the new file extension, including the leading dot.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

targetextension ".zmf"

See Also

Clone this wiki locally