-
Notifications
You must be signed in to change notification settings - Fork 21
prelinkcommands
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > prelinkcommands
The prelinkcommands function specifies shell commands to run after the source files have been compiled, but before the link step.
#!lua
prelinkcommands { "commands" }
Solutions, projects, and configurations.
commands is one or more shell commands. These commands will be passed to the shell exactly as entered, including path separators and the like.
#!lua
configuration "windows"
prelinkcommands { "copy default.config bin\\project.config" }
configuration "not windows"
prelinkcommands { "cp default.config bin/project.config" }