Specifies a file name suffix for the compiled binary target.
targetsuffix ("suffix")
suffix
is the new filename suffix.
Project configurations.
Premake 4.0 or later.
-- Add "-d" to debug versions of files
filter { "configurations:Debug" }
targetsuffix "-d"