meson.build 406 B

12345678910111213141516
  1. project('sysart', 'c',
  2. version : '0.1',
  3. default_options : ['warning_level=3', 'c_std=c11'])
  4. ncurses = dependency('ncurses', required : true)
  5. add_project_arguments('-D_GNU_SOURCE', language: 'c')
  6. executable('client',
  7. 'client.c', 'network.c',
  8. install : true,
  9. dependencies : ncurses)
  10. executable('server',
  11. 'server.c', 'network.c',
  12. install : true)