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