- Created imgui_impl_sdlsurface3.h and corresponding implementation file. - Added Makefile for building the SDL3 surface example on Linux and macOS. - Included README.md with build instructions for Windows, Linux, and macOS. - Added build script for Windows (build_win32.bat) and Visual Studio project files. - Implemented main application logic in main.cpp to demonstrate ImGui with SDL3 and surface rendering.
8 lines
412 B
Batchfile
8 lines
412 B
Batchfile
@set OUT_DIR=Debug
|
|
@set OUT_EXE=example_sdl3_surface
|
|
@set INCLUDES=/I..\.. /I..\..\backends /I%SDL3_DIR%\include
|
|
@set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl3.cpp ..\..\backends\imgui_impl_sdlsurface3.cpp ..\..\imgui*.cpp
|
|
@set LIBS=/LIBPATH:%SDL3_DIR%\lib\x86 SDL3.lib
|
|
mkdir %OUT_DIR%
|
|
cl /nologo /Zi /MD /utf-8 %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console
|