Initial commit
This commit is contained in:
73
meson.build
Normal file
73
meson.build
Normal file
@@ -0,0 +1,73 @@
|
||||
project('ground', 'c', version : '0.1.0')
|
||||
|
||||
sources = files(
|
||||
'src/Copy/Arg.c',
|
||||
'src/Copy/Function.c',
|
||||
'src/Copy/Instruction.c',
|
||||
'src/Copy/List.c',
|
||||
'src/Copy/Object.c',
|
||||
'src/Copy/Program.c',
|
||||
'src/Copy/State.c',
|
||||
'src/Copy/String.c',
|
||||
'src/Copy/Struct.c',
|
||||
'src/Copy/Value.c',
|
||||
|
||||
'src/Free/Function.c',
|
||||
'src/Free/List.c',
|
||||
'src/Free/Object.c',
|
||||
'src/Free/String.c',
|
||||
'src/Free/Struct.c',
|
||||
'src/Free/Value.c',
|
||||
|
||||
'src/Function/appendInstruction.c',
|
||||
'src/Function/appendArg.c',
|
||||
|
||||
'src/Instruction/append.c',
|
||||
'src/Instruction/execute.c',
|
||||
|
||||
'src/libmain.c',
|
||||
|
||||
'src/List/append.c',
|
||||
|
||||
'src/New/Arg/DirectRef.c',
|
||||
'src/New/Arg/FunctionRef.c',
|
||||
'src/New/Arg/LabelRef.c',
|
||||
'src/New/Arg/LineRef.c',
|
||||
'src/New/Arg/TypeRef.c',
|
||||
'src/New/Arg/Value.c',
|
||||
'src/New/Arg/ValueRef.c',
|
||||
|
||||
'src/New/Error.c',
|
||||
'src/New/Function.c',
|
||||
'src/New/List.c',
|
||||
'src/New/Object.c',
|
||||
'src/New/String.c',
|
||||
'src/New/Struct.c',
|
||||
|
||||
'src/New/NativeFunction.c',
|
||||
|
||||
'src/New/Instruction.c',
|
||||
'src/New/Program.c',
|
||||
'src/New/Type.c',
|
||||
|
||||
'src/New/Value/Bool.c',
|
||||
'src/New/Value/Char.c',
|
||||
'src/New/Value/Double.c',
|
||||
'src/New/Value/Function.c',
|
||||
'src/New/Value/Int.c',
|
||||
'src/New/Value/List.c',
|
||||
'src/New/Value/Object.c',
|
||||
'src/New/Value/String.c',
|
||||
'src/New/Value/Struct.c',
|
||||
|
||||
'src/Program/append.c',
|
||||
'src/Program/execute.c',
|
||||
|
||||
'src/Struct/addField.c'
|
||||
)
|
||||
|
||||
incdir = include_directories('include')
|
||||
|
||||
libffi = dependency('libffi', version : '>=3.0.0')
|
||||
|
||||
lib = library('ground', sources, include_directories : incdir, dependencies : libffi)
|
||||
Reference in New Issue
Block a user