pugixml/meson_options.txt
Eli Schwartz 2ae2ef4e4e
add meson build support
https://mesonbuild.com/

This should be feature-comparable with the cmake build (it even
generates *-config.cmake files for installation, if cmake is installed
to acquire the template). It supports all the major OSes, including
macOS xcode and Windows visual studio support.

meson also comes with some unique advantages. e.g. its builtin
pkg-config generator module allows building third-party projects against
an uninstalled developer build using pkg-config *-uninstalled.pc
support.

Also, and mainly, projects which use meson can make use of meson's
subproject mechanism which allows installing a foo.wrap file into the
project, after which dependency lookups for "foo" can retrieve it as an
external project and build it in a single configure/compile process.
This is very handy for building standalone executables, and somewhat
invaluable on platforms that don't have a usable package manager.

Documentation: https://mesonbuild.com/Wrap-dependency-system-manual.html

In order for projects depending on pugixml to make use of this, pugixml
needs to be buildable by meson, even if it isn't the default build
system.
2021-09-30 20:23:31 -04:00

6 lines
290 B
Meson

option('wchar_mode', type: 'boolean', value: false, description: 'Enable wchar_t mode')
option('compact', type: 'boolean', value: false)
option('no_xpath', type: 'boolean', value: false)
option('no_stl', type: 'boolean', value: false)
option('no_exceptions', type: 'boolean', value: false)