Initial community commit
This commit is contained in:
38
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/targetprefix.md
vendored
Normal file
38
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/targetprefix.md
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
Specifies the file name prefix for the compiled binary target.
|
||||
|
||||
```lua
|
||||
targetprefix ("prefix")
|
||||
```
|
||||
|
||||
By default, the system naming convention will be used: a "lib" prefix for POSIX libraries (as in `libMyProject.so`), and no prefix elsewhere. The `targetprefix` function allows you to change this default.
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`prefix` is the new file name prefix.
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 4.0 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
```lua
|
||||
targetprefix "plugin"
|
||||
```
|
||||
|
||||
The prefix may also be set to an empty string for no prefix.
|
||||
|
||||
```lua
|
||||
targetprefix ""
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [targetname](targetname.md)
|
||||
* [targetdir](targetdir.md)
|
||||
* [targetextension](targetextension.md)
|
||||
* [targetsuffix](targetsuffix.md)
|
||||
Reference in New Issue
Block a user