12345678910111213141516171819202122232425262728 |
- project('lonely tiger', 'c')
- src = [
- 'Main.c',
- 'tokenizer/Tokenizer.c',
- 'tokenizer/Token.c',
- 'tokenizer/File.c',
- 'utils/Utils.c',
- 'utils/Variables.c',
- 'utils/Functions.c',
- 'utils/ByteCodePrinter.c',
- 'Compiler.c',
- 'DataType.c',
- 'Test.c',
- 'vm/ByteCode.c',
- 'vm/Script.c',
- 'vm/Arrays.c',
- 'libraries/Time.c',
- 'libraries/Math.c'
- ]
- cc = meson.get_compiler('c')
- mathDep = cc.find_library('m', required : true)
- executable('lonely_tiger',
- sources: src,
- dependencies : mathDep,
- c_args: ['-Wall', '-Wextra', '-pedantic', '-Werror', '-O3'])
|