This is a simple game I'm writing to test the idea of using games to teach C++.
https://learncodethehardway.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
419 B
20 lines
419 B
project('sfmldemo', 'cpp',
|
|
default_options: ['cpp_std=c++17'])
|
|
|
|
if host_machine.system() == 'windows'
|
|
defaults = ['library_default=static']
|
|
else
|
|
defaults = []
|
|
endif
|
|
|
|
dependencies = [
|
|
dependency('sfml'),
|
|
dependency('imgui-sfml'),
|
|
dependency('fmt'),
|
|
]
|
|
|
|
executable('sfmldemo', 'main.cpp',
|
|
win_subsystem: 'windows',
|
|
cpp_args: '-DFMT_HEADER_ONLY',
|
|
override_options: defaults,
|
|
dependencies: dependencies)
|
|
|