20 lines
419 B
Meson
20 lines
419 B
Meson
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)
|