|
|
|
|
@ -30,6 +30,15 @@ fi
|
|
|
|
|
source "$SRC_DIR/compiler_runtime.sh" |
|
|
|
|
if [ "${MSYSTEM:-}" = UCRT64 ]; then |
|
|
|
|
chatgui_refresh_compiler_runtime "$BUILD_DIR" /ucrt64/bin 2>&1 | tee -a "$LOG_FILE" |
|
|
|
|
log "Preparing bundled rlottie..." |
|
|
|
|
cmake -S "$SRC_DIR/rlottie_src" -B "$SRC_DIR/rlottie_build" -G Ninja \ |
|
|
|
|
-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON 2>&1 | tee -a "$LOG_FILE" || { |
|
|
|
|
log " ERROR: bundled rlottie configure failed"; exit 1; |
|
|
|
|
} |
|
|
|
|
cmake --build "$SRC_DIR/rlottie_build" --target rlottie --parallel 4 2>&1 | tee -a "$LOG_FILE" || { |
|
|
|
|
log " ERROR: bundled rlottie build failed"; exit 1; |
|
|
|
|
} |
|
|
|
|
log " OK: bundled rlottie ready in $SRC_DIR/rlottie_build" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
log "[1/4] Configuring CMake (generator: Ninja)..." |
|
|
|
|
|