winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/prebuildcommands.md
2024-09-24 14:54:57 +02:00

676 B
Vendored

Specifies shell commands to run before each build.

prebuildcommands { "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

filter { "system:windows" }
   prebuildcommands { "copy default.config bin\\project.config" }

filter { "not system:windows" }
   prebuildcommands { "cp default.config bin/project.config" }

See Also