mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
22 lines
651 B
Meson
22 lines
651 B
Meson
project('libent', 'c', 'cpp',
|
|
default_options : ['c_std=c99', 'cpp_std=c++11'],
|
|
version : '0.0.1',
|
|
license : 'MIT')
|
|
|
|
inc = include_directories('include')
|
|
|
|
install_headers('include/ent/ent.h', subdir : 'ent')
|
|
|
|
ent_sources = ['src/ent.c']
|
|
libent = shared_library('ent',
|
|
ent_sources,
|
|
include_directories : inc,
|
|
install : true)
|
|
|
|
pkg_mod = import('pkgconfig')
|
|
pkg_mod.generate(libraries : libent,
|
|
version : '0.0',
|
|
name : 'libent',
|
|
filebase : 'ent',
|
|
description : 'A library to get entropy.')
|