Specifies the file extension for the compiled binary target.
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.
ext is the new file extension, including the leading dot.
Premake 4.0 or later.