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:
parent
dfbae6043b
commit
b4ff44788a
6 changed files with 57 additions and 3 deletions
11
sdl2demo/meson.build
Normal file
11
sdl2demo/meson.build
Normal 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])
|
Loading…
Add table
Add a link
Reference in a new issue