premake/website/docs/prelinkcommands.md
2021-03-12 22:10:24 +01:00

717 B

Specifies shell commands to run after the source files have been compiled, but before the link step.

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

configuration "windows"
   prelinkcommands { "copy default.config bin\\project.config" }

configuration "not windows"
   prelinkcommands { "cp default.config bin/project.config" }

See Also