1# shellcheck shell=bash
2
3premakeConfigurePhase() {
4 runHook preConfigure
5
6 local flagsArray=(
7 ${premakefile:+--file=$premakefile}
8 )
9 concatTo flagsArray premakeFlags premakeFlagsArray premakeBackend=gmake
10
11 echoCmd 'configure flags' "${flagsArray[@]}"
12
13 @premake_cmd@ "${flagsArray[@]}"
14
15 runHook postConfigure
16}
17
18if [ -z "${configurePhase-}" ]; then
19 configurePhase=premakeConfigurePhase
20fi