meson.build 435 B

12345678910111213141516171819202122
  1. project('lonely tiger', 'c')
  2. src = [
  3. 'Main.c',
  4. 'tokenizer/Tokenizer.c',
  5. 'tokenizer/Token.c',
  6. 'tokenizer/File.c',
  7. 'Compiler.c',
  8. 'Utils.c',
  9. 'Script.c',
  10. 'Test.c',
  11. 'StringIntMap.c',
  12. 'ByteCode.c',
  13. 'ByteCodePrinter.c',
  14. 'FunctionMap.c',
  15. 'Object.c',
  16. 'Allocator.c'
  17. ]
  18. executable('lonely_tiger',
  19. sources: src,
  20. c_args: ['-Wall', '-Wextra', '-pedantic', '-Werror', '-O3'])