shrub/meson.build

22 lines
651 B
Meson
Raw Normal View History

2018-12-26 06:44:59 +03:00
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.')