diff options
| author | Indrajith K L | 2025-11-03 18:13:32 +0530 |
|---|---|---|
| committer | Indrajith K L | 2025-11-03 18:13:32 +0530 |
| commit | 9c62d9dc1bbc4d344e679946e9cb75cbca806cf2 (patch) | |
| tree | c92ebd73f44e5d4794ee445f6fb57b1c7e118bf3 | |
| parent | 4859c415cc7c2274a642b045ff3016b7aae3dbd1 (diff) | |
| download | reilua-enhanced-9c62d9dc1bbc4d344e679946e9cb75cbca806cf2.tar.gz reilua-enhanced-9c62d9dc1bbc4d344e679946e9cb75cbca806cf2.tar.bz2 reilua-enhanced-9c62d9dc1bbc4d344e679946e9cb75cbca806cf2.zip | |
Update UPGRADE_SUMMARY.md with build scripts info
| -rw-r--r-- | UPGRADE_SUMMARY.md | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/UPGRADE_SUMMARY.md b/UPGRADE_SUMMARY.md index 1f37f47..4c96a47 100644 --- a/UPGRADE_SUMMARY.md +++ b/UPGRADE_SUMMARY.md @@ -69,6 +69,15 @@ Successfully ported embedded assets, splash screens, and asset loading features - `EMBEDDING.md` - Complete guide to embedding Lua and assets - `ASSET_LOADING.md` - Asset loading API documentation - `SPLASH_SCREENS.md` - Splash screen customization guide + - `BUILD_SCRIPTS.md` - Build scripts documentation + +- **Build Scripts:** + - `build_dev.bat` / `build_dev.sh` - One-command development builds + - `build_release.bat` / `build_release.sh` - One-command release builds with embedding + +- **Icon and Resources:** + - `icon.ico` - Default Windows executable icon + - `resources.rc` - Windows resource file for exe metadata ### Modified Files - `CMakeLists.txt` - Added embedding options and build commands @@ -80,7 +89,38 @@ Successfully ported embedded assets, splash screens, and asset loading features ## Build Options -### Development Build (Fast Iteration) +### Quick Build (Recommended) + +**Development (Fast Iteration):** +```bash +# Windows +build_dev.bat + +# Linux/Unix +./build_dev.sh +``` + +**Release (Single Executable):** +```bash +# Copy files to build directory first +cd build +copy ..\*.lua . +mkdir assets +copy ..\assets\* assets\ + +# Then build +cd .. + +# Windows +build_release.bat + +# Linux/Unix +./build_release.sh +``` + +### Manual Build + +**Development Build (Fast Iteration):** ```bash cmake -G "MinGW Makefiles" .. mingw32-make @@ -89,7 +129,7 @@ mingw32-make - Fast edit-and-run workflow - Use `--no-logo` to skip splash screens -### Release Build (Single Executable) +**Release Build (Single Executable):** ```bash # Copy Lua files and assets to build directory copy ..\*.lua . |
