Small general Linux-specific library for the D programming language
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
amalthea/meson.build

51 lines
1.0 KiB

project('amalthea', 'd', version: '1.2.0')
project_soversion = 0
glib_dep = dependency('glib-2.0')
gio_dep = dependency('gio-2.0')
names = [
'crypto.d',
'csv.d',
'dataprocessing.d',
'decimal.d',
'dialog.d',
'encoding.d',
'fileformats.d',
'fs.d',
'langlocal.d',
'libcore.d',
'math.d',
'matrixmath.d',
'net.d',
'package.d',
'sys.d',
'terminal.d',
'time.d'
]
source_files = []
foreach s : names
source_files += 'source/amalthea/' + s
endforeach
amalthea = library(
'amalthea',
source_files,
include_directories: include_directories(['source']),
dependencies: [glib_dep, gio_dep],
install: true,
d_args: ['-J..'],
version: meson.project_version(),
soversion: project_soversion
)
pkgc = import('pkgconfig')
pkgc.generate(
name: 'amalthea',
libraries: amalthea,
subdirs: 'd/amalthea',
version: meson.project_version(),
description: 'Small general Linux-specific library'
)
install_subdir('source/amalthea/', install_dir: 'include/d/amalthea')