159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
20 lines
425 B
Bash
20 lines
425 B
Bash
# shellcheck shell=bash
|
|
|
|
premakeConfigurePhase() {
|
|
runHook preConfigure
|
|
|
|
local flagsArray=(
|
|
${premakefile:+--file=$premakefile}
|
|
)
|
|
concatTo flagsArray premakeFlags premakeFlagsArray premakeBackend=gmake
|
|
|
|
echoCmd 'configure flags' "${flagsArray[@]}"
|
|
|
|
@premake_cmd@ "${flagsArray[@]}"
|
|
|
|
runHook postConfigure
|
|
}
|
|
|
|
if [ -z "${configurePhase-}" ]; then
|
|
configurePhase=premakeConfigurePhase
|
|
fi
|