From 90ae3f8f8bd9e0a3bc2dd06b202532b361ba378e Mon Sep 17 00:00:00 2001 From: salh Date: Mon, 20 Apr 2026 19:12:56 +0300 Subject: [PATCH] Update build section in setup_and_build.bat to include codegen --- setup_and_build.bat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/setup_and_build.bat b/setup_and_build.bat index 7df7f8ae..3c51f759 100644 --- a/setup_and_build.bat +++ b/setup_and_build.bat @@ -118,6 +118,31 @@ echo. echo ========================================= echo Building the Game echo ========================================= +echo Step 1: Configuring... +cmake --preset win-amd64-relwithdebinfo +if !errorlevel! neq 0 ( + echo [ERROR] Configuration failed. + pause + exit /b 1 +) + +echo Step 2: Generating recompiled code... +cmake --build --preset win-amd64-relwithdebinfo --target ac6recomp_codegen +if !errorlevel! neq 0 ( + echo [ERROR] Codegen failed. + pause + exit /b 1 +) + +echo Step 3: Re-configuring... +cmake --preset win-amd64-relwithdebinfo +if !errorlevel! neq 0 ( + echo [ERROR] Re-configuration failed. + pause + exit /b 1 +) + +echo Step 4: Building the runtime... cmake --build --preset win-amd64-relwithdebinfo if !errorlevel! neq 0 ( echo [ERROR] Build failed.