Skip to content

targetextension

Jason Perkins edited this page Apr 14, 2015 · 7 revisions

Home > [Project API](Project API) > 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