meson.build 258 B

1234567891011121314151617181920
  1. project('scuffedcraft', 'c')
  2. cargs = [
  3. '-std=c99',
  4. '-Og',
  5. '-g',
  6. ]
  7. if host_machine.system() == 'windows'
  8. cargs += [
  9. '-DUNICODE',
  10. '-D__UNICODE',
  11. '-municode'
  12. ]
  13. endif
  14. executable(
  15. 'scuffedcraft',
  16. './src/main.c',
  17. c_args: cargs,
  18. )