20 lines
400 B
Bash
20 lines
400 B
Bash
|
premakeConfigurePhase() {
|
||
|
runHook preConfigure
|
||
|
|
||
|
local flagsArray=(
|
||
|
${premakefile:+--file=$premakefile}
|
||
|
$premakeFlags ${premakeFlagsArray[@]}
|
||
|
${premakeBackend:-gmake}
|
||
|
)
|
||
|
|
||
|
echoCmd 'configure flags' "${flagsArray[@]}"
|
||
|
|
||
|
@premake_cmd@ "${flagsArray[@]}"
|
||
|
|
||
|
runHook postConfigure
|
||
|
}
|
||
|
|
||
|
if [ -z "$configurePhase" ]; then
|
||
|
configurePhase=premakeConfigurePhase
|
||
|
fi
|