aboutsummaryrefslogtreecommitdiff
path: root/build-win/full-build-win.sh
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2026-02-05 10:31:47 +0100
committervimene <vincent.menegaux@gmail.com>2026-02-05 10:31:47 +0100
commitccf086c39f734a000aa3a2fac034f0620021fbdf (patch)
treec49547742909adb671b1e5a43cd042c02509b4b6 /build-win/full-build-win.sh
parentcbf7d23623b5bb2d2092cb6c86bc965138b4ea75 (diff)
downloadengine-ccf086c39f734a000aa3a2fac034f0620021fbdf.tar.gz
added back windows cross-compilation
Makefile.am is too ugly, but I don't have a better solution right now. - fused Makefile.am and src/Makefile.am - adding back windows cross-compilation - improved README.md a lot - added configure option to enable debug, which greatly simplifies development when writing shaders - removed dependency on LunarG's Vulkan SDK by having dependency only on Vulkan headers, library and slangc - removed print C++ header because I have an old MinGW which doesn't support it. It will be restored in the future - make every assets path relative to be able to build anywhere and run elsewhere - moved stb_image.h inside source directory instead of making it a dependency, which is more aligned with stb philosophy - moved assets inside source code to make it easy to compile and run the engine - improved configure.ac by checking Vulkan headers version directly in the configure script instead of within C code, which allows us to also do theses checks when cross-compiling
Diffstat (limited to 'build-win/full-build-win.sh')
-rwxr-xr-xbuild-win/full-build-win.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/build-win/full-build-win.sh b/build-win/full-build-win.sh
deleted file mode 100755
index 9661d46..0000000
--- a/build-win/full-build-win.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-set -euo pipefail
-
-[[ -f engine-win.zip ]] && rm -f engine-win.zip
-PKG_CONFIG_PATH=../../local/x86_64-w64-mingw32/lib/pkgconfig/ \
- ../configure --prefix "$(realpath .)" --build x86_64-pc-linux-gnu --host x86_64-w64-mingw32
-make
-zip -jg engine-win engine.exe
-zip -jg engine-win /usr/lib/gcc/x86_64-w64-mingw32/13-win32/libstdc++-6.dll
-zip -jg engine-win /usr/lib/gcc/x86_64-w64-mingw32/13-win32/libgcc_s_seh-1.dll
-zip -jg engine-win ../../local/x86_64-w64-mingw32/bin/SDL2.dll