mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
26 lines
757 B
Meson
26 lines
757 B
Meson
project('libent', 'c', 'cpp',
|
|
default_options : ['c_std=c99', 'cpp_std=c++11'],
|
|
version : '0.0.1',
|
|
license : 'MIT')
|
|
|
|
subdir('include/ent')
|
|
|
|
inc = include_directories('include')
|
|
|
|
ent_sources = ['ent.c']
|
|
|
|
ent_dep = declare_dependency(sources : ent_sources,
|
|
compile_args : ['-Wall', '-pedantic'],
|
|
include_directories : inc)
|
|
|
|
libent = both_libraries('ent',
|
|
dependencies : [ent_dep],
|
|
install : false)
|
|
|
|
pkg_mod = import('pkgconfig')
|
|
pkg_mod.generate(libraries : libent,
|
|
version : '0.0',
|
|
name : 'libent',
|
|
filebase : 'ent',
|
|
description : 'A library to get entropy.')
|