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
This commit is contained in:
@@ -7,6 +7,7 @@ glaze_cmake_options.add_cmake_defines({
|
|||||||
'CMAKE_INSTALL_INCLUDEDIR': get_option('includedir'),
|
'CMAKE_INSTALL_INCLUDEDIR': get_option('includedir'),
|
||||||
'CMAKE_POSITION_INDEPENDENT_CODE': 'ON',
|
'CMAKE_POSITION_INDEPENDENT_CODE': 'ON',
|
||||||
'galze_BUILD_EXAMPLES': 'OFF',
|
'galze_BUILD_EXAMPLES': 'OFF',
|
||||||
|
'glaze_DEVELOPER_MODE': 'OFF',
|
||||||
})
|
})
|
||||||
|
|
||||||
glaze_sp = cmake.subproject(
|
glaze_sp = cmake.subproject(
|
||||||
|
|||||||
27
meson.build
27
meson.build
@@ -18,7 +18,7 @@
|
|||||||
# 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('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 default visibility for all C++ targets
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
@@ -35,16 +35,15 @@ if get_option('build_examples')
|
|||||||
subdir('examples')
|
subdir('examples')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#if get_option('pkg_config')
|
if get_option('pkg_config')
|
||||||
# message('Generating pkg-config file for libconfig...')
|
message('Generating pkg-config file for libconfig...')
|
||||||
# pkg = import('pkgconfig')
|
pkg = import('pkgconfig')
|
||||||
# pkg.generate(
|
pkg.generate(
|
||||||
# name: 'libconfig',
|
name: 'libconfig',
|
||||||
# description: 'Configuration module for SERiF and related projects',
|
description: 'Configuration module for SERiF and related projects',
|
||||||
# version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
# libraries: [libconfig],
|
subdirs: ['fourdst'],
|
||||||
# subdirs: ['fourdst'],
|
filebase: 'fourdst_config',
|
||||||
# filebase: 'fourdst_config',
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
# install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
)
|
||||||
# )
|
endif
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user