summaryrefslogtreecommitdiff
path: root/docs/markdown/Configuring-a-build-directory.md
AgeCommit message (Collapse)Author
2023-03-28docs: replace most uses of `meson_options.txt` with `meson.options`Dylan Baker
I've left the old release notes in place, but updated everything else to use `meson.options`
2022-11-27Add warning_level=everythingDavid Robillard
Adds a new maximum warning level that is roughly equivalent to "all warnings". This adds a way to use `/Wall` with MSVC (without the previous broken warning), `-Weverything` with clang, and almost all general warnings in GCC with strictness roughly equivalent to clang's `-Weverything`. The GCC case must be implemented by meson since GCC doesn't provide a similar option. To avoid maintenance headaches for meson, this warning level is defined objectively: all warnings are included except those that require specific values or are specific to particular language revisions. This warning level is mainly intended for new code, and it is expected (nearly guaranteed) that projects will need to add some suppressions to build cleanly with it. More commonly, it's just a handy way to occasionally take a look at what warnings are present with some compiler, in case anything interesting shows up you might want to enable in general. Since the warnings enabled at this level are inherently unstable with respect to compiler versions, it is intended for use by developers and not to be set as the default.
2022-10-09compilers: Add optimization=plain optionJan Tojnar
https://github.com/mesonbuild/meson/pull/9287 changed the `optimization=0` to pass `-O0` to the compiler. This change is reasonable by itself but unfortunately, it breaks `buildtype=plain`, which promises that “no extra build flags are used”. `buildtype=plain` is important for distros like NixOS, which manage compiler flags for optimization and hardening themselves. Let’s introduce a new optimization level that does nothing and set it as the default for `buildtype=plain`.
2022-06-06compilers: Add support for stand-alone leak sanitizerMarco Trevisan (Treviño)
Leak sanitizer can be enabled without the whole AddressSanitizer, this can be done by passing -fsanitize=leak as documented at [1]. Meson doesn't support this, so add support for it. [1] https://clang.llvm.org/docs/LeakSanitizer.html
2022-05-03add prefer_static built-in optionDudemanguy
By default, meson will try to look for shared libraries first before static ones. In the meson.build itself, one can use the static keyword to control if a static library will be tried first but there's no simple way for an end user performing a build to switch back and forth at will. Let's cover this usecase by adding an option that allows a user to specify if they want dependency lookups to try static or shared libraries first. The writer of the meson.build can manually specify the static keyword where appropriate which will override the value of this option.
2021-11-21Support Visual Studio 2022 backendCrend King
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen
2020-12-10compilers: add support for c++20/gnu++20Florian Schmaus
Fixes #8084.
2020-08-22Add C2x option support.Alex Rønne Petersen
2020-06-18docs: replaced `ninja` with appropriate `meson` commands [skip ci]TheQwertiest
2019-11-25complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D
2019-04-16Add VS2019 backend CI and docs.Anton Kochkov
2019-04-10Update Built-in Option c_std for C17. Closes #4842.jrl64
2019-02-19Add warning level zerojml1795
2019-01-25mconf: Use introspection to print the project default options (fixes #2543)Daniel Mensinger
2018-12-01Update sample output of meson configure [skip ci]Lzu Tao
2018-03-11docs: remove reference to mesonguiJon Turney
mesongui was removed in 71f18226 (PR #574)
2017-10-23Update references from mesonconf to meson configureKevin Anderson
Fixes #2372
2017-08-26Rewrapped more files.Jussi Pakkanen
2017-05-03docs: add a short description for all top pages in the ManualPeter Hutterer
2017-04-26docs: Import the website and wiki and build with hotdocThibault Saunier
This allows us to more easily have the documentation in sync with the source code as people will have to document new features etc right at the time where they implement it.