Initial community commit
This commit is contained in:
32
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/prelinkcommands.md
vendored
Normal file
32
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/prelinkcommands.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Specifies shell commands to run after the source files have been compiled, but before the link step.
|
||||
|
||||
```lua
|
||||
prelinkcommands { "commands" }
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`commands` is one or more shell commands. These commands will be passed to the shell exactly as entered, including path separators and the like.
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 4.4 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
```lua
|
||||
filter { "system:windows" }
|
||||
prelinkcommands { "copy default.config bin\\project.config" }
|
||||
|
||||
filter { "not system:windows" }
|
||||
prelinkcommands { "cp default.config bin/project.config" }
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [prebuildcommands](prebuildcommands.md)
|
||||
* [postbuildcommands](postbuildcommands.md)
|
||||
Reference in New Issue
Block a user