Files
liblogging/build-config/quill/meson.build
Emily Boudreaux 888d44cec1 build(wasm): liblogging now builds for wasm
Further, due to limitations of file system access on wasm, liblogging now outputs all logs to the console syncronously
2025-12-03 10:46:29 -05:00

24 lines
713 B
Meson

cmake = import('cmake')
quill_cmake_options = cmake.subproject_options()
quill_cmake_options.add_cmake_defines({
'BUILD_STATIC_LIBS': 'ON',
'BUILD_SHARED_LIBS': 'OFF',
'CMAKE_SKIP_INSTALL_RULES': 'ON',
'CMAKE_POSITION_INDEPENDENT_CODE': 'ON'
})
quill_sp = cmake.subproject(
'quill',
options: quill_cmake_options,
)
quill_dep = quill_sp.dependency('quill')
if get_option('default_library') != 'static'
message('Registering quill headers for installation...')
# Note: verify this path matches your source structure
quill_headers = meson.global_source_root() + '/subprojects/quill/include/quill'
install_subdir(quill_headers, install_dir: get_option('includedir'))
endif