previously Cpp args were set with add_project_argument, which does not work from subprojects. Changed this so args can be set from calling projects
23 lines
638 B
Meson
23 lines
638 B
Meson
if get_option('pkg_config')
|
|
message('Generating pkg-config file for GridFire...')
|
|
pkg = import('pkgconfig')
|
|
pkg.generate(
|
|
name: 'gridfire',
|
|
description: 'GridFire nuclear reaction network solver',
|
|
version: meson.project_version(),
|
|
libraries: [
|
|
libgridfire,
|
|
libcomposition,
|
|
libconst,
|
|
liblogging,
|
|
libcppad_static,
|
|
libcvode_static,
|
|
libkinsol_static
|
|
|
|
],
|
|
subdirs: ['gridfire'],
|
|
filebase: 'gridfire',
|
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
|
)
|
|
endif
|