From 2a687ec5125471c9c4727d5a90cd74c3bcbabcba Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Sat, 6 Dec 2025 08:11:41 -0500 Subject: [PATCH] fix(glaze): Disable dev mode Glaze dev mode brings in boost as a dependency. We are trying to remove boost as a dependencty due to its weight. We disable dev mode to relax this dependency requirment --- build-config/glaze/meson.build | 1 + meson.build | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build-config/glaze/meson.build b/build-config/glaze/meson.build index f364fcb..789314a 100644 --- a/build-config/glaze/meson.build +++ b/build-config/glaze/meson.build @@ -7,6 +7,7 @@ glaze_cmake_options.add_cmake_defines({ 'CMAKE_INSTALL_INCLUDEDIR': get_option('includedir'), 'CMAKE_POSITION_INDEPENDENT_CODE': 'ON', 'galze_BUILD_EXAMPLES': 'OFF', + 'glaze_DEVELOPER_MODE': 'OFF', }) glaze_sp = cmake.subproject( diff --git a/meson.build b/meson.build index d9d1011..a0b241b 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # *********************************************************************** # -project('libconfig', 'cpp', version: 'v2.0.0', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') +project('libconfig', 'cpp', version: 'v2.0.1', 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') @@ -35,16 +35,15 @@ if get_option('build_examples') subdir('examples') endif -#if get_option('pkg_config') -# message('Generating pkg-config file for libconfig...') -# pkg = import('pkgconfig') -# pkg.generate( -# name: 'libconfig', -# description: 'Configuration module for SERiF and related projects', -# version: meson.project_version(), -# libraries: [libconfig], -# subdirs: ['fourdst'], -# filebase: 'fourdst_config', -# install_dir: join_paths(get_option('libdir'), 'pkgconfig') -# ) -#endif +if get_option('pkg_config') + message('Generating pkg-config file for libconfig...') + pkg = import('pkgconfig') + pkg.generate( + name: 'libconfig', + description: 'Configuration module for SERiF and related projects', + version: meson.project_version(), + subdirs: ['fourdst'], + filebase: 'fourdst_config', + install_dir: join_paths(get_option('libdir'), 'pkgconfig') + ) +endif