Commit 015b6667 authored by Tomodachi94's avatar Tomodachi94 Committed by Bjørn Forsman
Browse files

doc/hooks/premake: add documentation

parent d71660e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ patch-rc-path-hooks.section.md
perl.section.md
pkg-config.section.md
postgresql-test-hook.section.md
premake.section.md
python.section.md
scons.section.md
tetex-tex-live.section.md
+7 −0
Original line number Diff line number Diff line
# Premake {#premake-hook}

This setup hook attempts to configure the package using [the Premake build configuration system](https://premake.github.io/). It overrides the `configurePhase` by default, if none exists.

[]{#premake-hook-premakefile} The Premakefile to use can be specified by setting `premakefile` in the derivation.

[]{#premake-hook-premakeFlagsArray} The flags passed to Premake can be configured by adding strings to the `premakeFlags` list.