2024-09-19 14:19:46 +00:00
|
|
|
# shellcheck shell=bash
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
premakeConfigurePhase() {
|
|
|
|
runHook preConfigure
|
|
|
|
|
|
|
|
local flagsArray=(
|
|
|
|
${premakefile:+--file=$premakefile}
|
|
|
|
)
|
2024-09-19 14:19:46 +00:00
|
|
|
concatTo flagsArray premakeFlags premakeFlagsArray premakeBackend=gmake
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
echoCmd 'configure flags' "${flagsArray[@]}"
|
|
|
|
|
|
|
|
@premake_cmd@ "${flagsArray[@]}"
|
|
|
|
|
|
|
|
runHook postConfigure
|
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "${configurePhase-}" ]; then
|
|
|
|
configurePhase=premakeConfigurePhase
|
|
|
|
fi
|