2018-11-26 16:00:08 -08:00
|
|
|
premakeConfigurePhase() {
|
|
|
|
runHook preConfigure
|
|
|
|
|
|
|
|
local flagsArray=(
|
|
|
|
${premakefile:+--file=$premakefile}
|
|
|
|
$premakeFlags ${premakeFlagsArray[@]}
|
|
|
|
${premakeBackend:-gmake}
|
|
|
|
)
|
|
|
|
|
|
|
|
echoCmd 'configure flags' "${flagsArray[@]}"
|
|
|
|
|
|
|
|
@premake_cmd@ "${flagsArray[@]}"
|
|
|
|
|
|
|
|
runHook postConfigure
|
|
|
|
}
|
|
|
|
|
2019-10-31 10:59:18 -07:00
|
|
|
if [ -z "${configurePhase-}" ]; then
|
2018-11-26 16:00:08 -08:00
|
|
|
configurePhase=premakeConfigurePhase
|
|
|
|
fi
|