Bring in a simple SDL2 demo for completeness. It's running in a main.cpp to test SDL2 in C++.

This commit is contained in:
Zed A. Shaw 2024-04-24 06:51:37 -04:00
parent dfbae6043b
commit b4ff44788a
6 changed files with 57 additions and 3 deletions

11
sdl2demo/meson.build Normal file
View file

@ -0,0 +1,11 @@
project('sdl2demo', 'cpp',
default_options: [
'cpp_std=c++17',
])
sdl2_dep = dependency('sdl2')
imgui_dep = dependency('imgui')
executable('sdl2demo', 'main.cpp',
win_subsystem: 'windows',
dependencies: [sdl2_dep, imgui_dep])