mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
Rejigger the meson file
This commit is contained in:
parent
4cbc082504
commit
6d2e6b168f
14
meson.build
14
meson.build
@ -1,4 +1,4 @@
|
|||||||
project('libent', 'c', 'cpp',
|
project('libent', 'c',
|
||||||
default_options : ['c_std=c99', 'cpp_std=c++11'],
|
default_options : ['c_std=c99', 'cpp_std=c++11'],
|
||||||
version : '0.0.1',
|
version : '0.0.1',
|
||||||
license : 'MIT')
|
license : 'MIT')
|
||||||
@ -9,14 +9,14 @@ inc = include_directories('include')
|
|||||||
|
|
||||||
ent_sources = ['ent.c']
|
ent_sources = ['ent.c']
|
||||||
|
|
||||||
libent_dep = declare_dependency(sources : ent_sources,
|
libent = static_library('ent',
|
||||||
compile_args : ['-Wall'],
|
sources : ent_sources,
|
||||||
include_directories : inc)
|
include_directories : inc,
|
||||||
|
c_args : ['-Wall', '-pedantic'],
|
||||||
libent = both_libraries('ent',
|
|
||||||
dependencies : [libent_dep],
|
|
||||||
install : false)
|
install : false)
|
||||||
|
|
||||||
|
libent_dep = declare_dependency(include_directories : inc, link_with : libent)
|
||||||
|
|
||||||
pkg_mod = import('pkgconfig')
|
pkg_mod = import('pkgconfig')
|
||||||
pkg_mod.generate(libraries : libent,
|
pkg_mod.generate(libraries : libent,
|
||||||
version : '0.0',
|
version : '0.0',
|
||||||
|
Loading…
Reference in New Issue
Block a user