-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
31 lines (26 loc) · 722 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
################################################################################
# CONFIGURATION
################################################################################
# Project setup
project(
'pilisp', 'c',
version : '1.0.0',
)
# Compiler
cc = meson.get_compiler('c')
# arguments for the coverage
# coverage_arguments = ['-O3']
# add_global_arguments(coverage_arguments, language : 'c')
# Dependencies
thread_dep = dependency('threads') # pthreads
mathlib = cc.find_library('m', required: false) # math.h
dependencies =[
thread_dep,
mathlib
]
# Includes
inc = include_directories('include')
# Subdirs
subdir('include')
subdir('src')
subdir('test')