2018-11-27 00:00:08 +00: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 17:59:18 +00:00
|
|
|
if [ -z "${configurePhase-}" ]; then
|
2018-11-27 00:00:08 +00:00
|
|
|
configurePhase=premakeConfigurePhase
|
|
|
|
fi
|