1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
project('new_game', 'c', default_options: ['warning_level=2']) cc = meson.get_compiler('c') server = executable('server', sources: [ 'server.c', 'str.c', 'peer.c', ], dependencies: [dependency('libpng')], install: true, ) run_target('run', command: server)