Needed to add the default_library=static option for Windows, but I believe that fails on OSX.

This commit is contained in:
Zed A. Shaw 2024-04-25 03:45:13 -04:00
parent 53bc5c93ed
commit 98264d30f4
2 changed files with 19 additions and 0 deletions

View file

@ -1,5 +1,6 @@
project('sfmldemo', 'cpp',
default_options: [
'default_library=static',
'cpp_std=c++17',
])
@ -9,4 +10,5 @@ fmt_dep = dependency('fmt')
executable('sfmldemo', 'main.cpp',
win_subsystem: 'windows',
cpp_args: '-DFMT_HEADER_ONLY',
dependencies: [sfml_dep, imgui_dep, fmt_dep])