feat(pkg-config): fixed
This commit is contained in:
@@ -14,4 +14,4 @@ const_data_header = include_directories('.')
|
|||||||
const_data_dep = declare_dependency(
|
const_data_dep = declare_dependency(
|
||||||
include_directories: const_data_header,
|
include_directories: const_data_header,
|
||||||
sources: embedded_constants_h
|
sources: embedded_constants_h
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,14 +18,11 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
# *********************************************************************** #
|
# *********************************************************************** #
|
||||||
project('libconstants', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
project('libconstants', 'cpp', version: 'v1.0.5', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
||||||
|
|
||||||
# Add default visibility for all C++ targets
|
# Add default visibility for all C++ targets
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
|
|
||||||
# We disable these because of CppAD
|
|
||||||
add_project_arguments('-Wno-bitwise-instead-of-logical', language: 'cpp')
|
|
||||||
|
|
||||||
cpp = meson.get_compiler('cpp')
|
cpp = meson.get_compiler('cpp')
|
||||||
|
|
||||||
subdir('assets/static')
|
subdir('assets/static')
|
||||||
@@ -39,8 +36,8 @@ pkg.generate(
|
|||||||
description: 'Physical Constants for SERiF and related projects',
|
description: 'Physical Constants for SERiF and related projects',
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
libraries: [libconst],
|
libraries: [libconst],
|
||||||
subdirs: ['libconstants'],
|
subdirs: ['fourdst'],
|
||||||
filebase: 'libconstants',
|
filebase: 'fourdst_constants',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user