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
|
2021-09-16 14:20:58 +00:00
|
|
|
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)
|