summaryrefslogtreecommitdiffstats
path: root/lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-03-14 02:29:15 +0200
committergrm <grm@eyesin.space>2026-03-14 02:29:15 +0200
commit650e5afde271d22b3653832daf339e1bd09a10d6 (patch)
treecc5e536b0150de1109daa43a055547d2266e60dd /lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat
parent20e64711ce2a09b657fb79d59cb824e9e34d2b07 (diff)
downloadcgame-650e5afde271d22b3653832daf339e1bd09a10d6.tar.gz
cgame-650e5afde271d22b3653832daf339e1bd09a10d6.tar.bz2
cgame-650e5afde271d22b3653832daf339e1bd09a10d6.zip
Migrate to imgui 1.92.6 and SDL3HEADmaster
Diffstat (limited to 'lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat')
-rw-r--r--lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat b/lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat
new file mode 100644
index 0000000..e9f804f
--- /dev/null
+++ b/lib/imgui-1.92.6/examples/example_win32_opengl3/build_mingw.bat
@@ -0,0 +1,8 @@
+@REM Build for MINGW64 or 32 from MSYS2.
+@set OUT_DIR=Debug
+@set OUT_EXE=example_win32_opengl3
+@set INCLUDES=-I../.. -I../../backends
+@set SOURCES=main.cpp ../../backends/imgui_impl_opengl3.cpp ../../backends/imgui_impl_win32.cpp ../../imgui*.cpp
+@set LIBS=-lopengl32 -lgdi32 -ldwmapi
+mkdir %OUT_DIR%
+g++ -DUNICODE %INCLUDES% %SOURCES% -o %OUT_DIR%/%OUT_EXE%.exe --static -mwindows %LIBS% %LIBS%