The targetname function 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.
Applies To
Solutions, projects, and configurations.
Parameters
name is the new base file name.
See Also
targetdir
targetextension
targetprefix
targetsuffix
Examples
targetname "mytarget"

