summaryrefslogtreecommitdiff
path: root/meson.build
blob: b9d86e86dc8bd09b3555432f4682201c84a495b0 (plain) (blame)
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
32
33
34
35
project(
        'evanix',
        'c',
        version : '0.1',
        license: 'GPL-3.0-only',
        default_options : [
                'c_std=c99',
                'warning_level=2',
        ]
)

add_project_arguments(
	[
                '-D_POSIX_C_SOURCE=200809L',
                '-D_GNU_SOURCE',
		'-Wvla',
	],
	language: 'c',
)

cjson_dep = dependency('libcjson')
highs_dep = dependency('highs')
evanix_inc = include_directories('include')

if get_option('build-python')
        py = import('python').find_installation()
        py.extension_module(
                'evanix',
                'src/evanix-py.c',
                install: true,
        )
endif

subdir('src')
subdir('tests')