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

View file

@ -1,9 +1,11 @@
project('sfmldemo', 'cpp',
default_options: ['cpp_std=c++17'])
default_options: [
'cpp_std=c++17',
])
sfml_dep = dependency('sfml')
imgui_dep = dependency('imgui-sfml')
executable('sfmlprog', 'sfmlprog.cpp',
executable('sfmldemo', 'main.cpp',
win_subsystem: 'windows',
dependencies: [sfml_dep, imgui_dep])