Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > targetextension


targetextension

The targetextension function specifies the file extension for the compiled binary target.

#!lua
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.

Applies To

Solutions, projects, and configurations.

Parameters

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

See Also

Examples

#!lua
targetextension ".zmf"
Clone this wiki locally