premake/website/docs/targetsuffix.md

33 lines
512 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Specifies a file name suffix for the compiled binary target.
```lua
targetsuffix ("suffix")
```
### Parameters ###
`suffix` is the new filename suffix.
### Applies To ###
Project configurations.
### Availability ###
Premake 4.0 or later.
### Examples ###
```lua
-- Add "-d" to debug versions of files
configuration "Debug"
targetsuffix "-d"
```
### See Also ###
* [targetname](targetname.md)
* [targetdir](targetdir.md)
* [targetextension](targetextension.md)
* [targetprefix](targetprefix.md)