premake/website/docs/targetsuffix.md

33 lines
524 B
Markdown
Raw Permalink 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
filter { "configurations:Debug" }
2021-03-11 20:29:22 +00:00
targetsuffix "-d"
```
### See Also ###
* [targetname](targetname.md)
* [targetdir](targetdir.md)
* [targetextension](targetextension.md)
* [targetprefix](targetprefix.md)