|
|
@ -1,11 +1,8 @@ |
|
|
|
project('sfmldemo', 'cpp', |
|
|
|
project('sfmldemo', 'cpp', |
|
|
|
default_options: ['cpp_std=c++17']) |
|
|
|
default_options: [ |
|
|
|
|
|
|
|
'cpp_std=c++17', |
|
|
|
if host_machine.system() == 'windows' |
|
|
|
'default_library=static' |
|
|
|
defaults = ['library_default=static'] |
|
|
|
]) |
|
|
|
else |
|
|
|
|
|
|
|
defaults = [] |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dependencies = [ |
|
|
|
dependencies = [ |
|
|
|
dependency('sfml'), |
|
|
|
dependency('sfml'), |
|
|
@ -16,5 +13,4 @@ dependencies = [ |
|
|
|
executable('sfmldemo', 'main.cpp', |
|
|
|
executable('sfmldemo', 'main.cpp', |
|
|
|
win_subsystem: 'windows', |
|
|
|
win_subsystem: 'windows', |
|
|
|
cpp_args: '-DFMT_HEADER_ONLY', |
|
|
|
cpp_args: '-DFMT_HEADER_ONLY', |
|
|
|
override_options: defaults, |
|
|
|
|
|
|
|
dependencies: dependencies) |
|
|
|
dependencies: dependencies) |
|
|
|