8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
19 lines
403 B
Bash
19 lines
403 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
|