shrub/meson.build
2018-12-25 19:44:59 -08:00

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