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
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue