aboutsummaryrefslogblamecommitdiff
path: root/meson.build
blob: 2bad1795eaa71e3640fb749ec904d79271198de4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                  
                                            
                                





                                  
                               

                                           








                                           
             
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')