Browse Source

Added official mpack wrap. Switched to C99

master
dirkson 3 years ago
parent
commit
41ca31a4f4
  1. 6
      meson.build

6
meson.build

@ -1,4 +1,4 @@
project('simsecl', 'c', default_options : ['default_library=static', 'c_std=gnu89'], subproject_dir : 'meson')
project('simsecl', 'c', default_options : ['default_library=static', 'c_std=c99'], subproject_dir : 'meson')
incdir = include_directories(['src', 'include'])
if get_option('buildtype').startswith('debug')
@ -12,11 +12,11 @@ simsecl_src = ['src/simsecl.c']
depsodium = dependency('libsodium', required:true)
subproject('parasol', default_options : ['default_library=static', 'c_std=gnu89'])
subproject('parasol', default_options : ['default_library=static'])
depparasol = dependency('parasol', fallback : ['parasol', 'parasol_dep'], required:true)
subproject('mpack', default_options : ['default_library=static', 'c_std=c99'])
depmpack = dependency('mpack', fallback : ['mpack', 'mpack_dep'], required:true)
depmpack = dependency('mpack', fallback : ['mpack', 'ludocode_mpack_dep'], required:true)
libsimsecl = library('simsecl', simsecl_src, include_directories : incdir, dependencies: [depsodium, depparasol, depmpack])
simsecl_dep = declare_dependency(link_with : libsimsecl, include_directories : incdir)

Loading…
Cancel
Save