From 3821639053955098495f701d03d80b80a4e01e32 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Sat, 21 Jun 2025 16:37:08 -0400 Subject: [PATCH] feat(pkg-config): fixed --- assets/static/const/meson.build | 2 +- meson.build | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/assets/static/const/meson.build b/assets/static/const/meson.build index 583fb32..0d443fd 100644 --- a/assets/static/const/meson.build +++ b/assets/static/const/meson.build @@ -14,4 +14,4 @@ const_data_header = include_directories('.') const_data_dep = declare_dependency( include_directories: const_data_header, sources: embedded_constants_h -) \ No newline at end of file +) diff --git a/meson.build b/meson.build index 625f3e1..f47a9c9 100644 --- a/meson.build +++ b/meson.build @@ -18,14 +18,11 @@ # 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_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') subdir('assets/static') @@ -39,8 +36,8 @@ pkg.generate( description: 'Physical Constants for SERiF and related projects', version: meson.project_version(), libraries: [libconst], - subdirs: ['libconstants'], - filebase: 'libconstants', + subdirs: ['fourdst'], + filebase: 'fourdst_constants', install_dir: join_paths(get_option('libdir'), 'pkgconfig') )