summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* docs: mention additional python modules needed for buildingEli Schwartz2023-05-092-0/+14
| | | | | | Also check that they are available in meson.build. Closes #11772
* docs: make the man page installableEli Schwartz2023-05-091-0/+2
| | | | | Users now have the *option* to run the documentation build and use `meson install` to install man pages.
* docs: add option to skip building HTML docsEli Schwartz2023-05-092-33/+40
| | | | | | Reorder meson targets to handle those all at the end, and exit early if HTML documentation is disabled. This makes it possible to build just the manpage, without hotdoc installed.
* docs: add meson option to use the unsafe loaderEli Schwartz2023-05-092-1/+4
|
* Enable fatal warnings in HotDoc when building website.Jussi Pakkanen2023-05-091-0/+1
|
* docs/prebuilt: fix sanity check logic in the exampleJoel Rosdahl2023-05-081-1/+1
|
* Initial support for Metrowerks AssemblerNomura2023-05-061-0/+2
|
* doc: Add link to argument detailsXavier Claessens2023-05-032-3/+10
|
* Visual studio: Generate vcxproj.filters files to adds filters to imitated ↵Renan Lavarec2023-05-031-0/+4
| | | | directories to navigate more easily in the source files.
* python module: add an automatic byte-compilation stepEli Schwartz2023-05-022-0/+15
| | | | | | For all source `*.py` files installed via either py.install_sources() or an `install_dir: py.get_install_dir()`, produce `*.pyc` files at install time. Controllable via a module option.
* Find python3.xx on windowsCharles Brunet2023-05-022-1/+10
|
* Add env kwarg to gnome.generate_gir().Volker Weißmann2023-04-262-0/+6
| | | | Fixes #384
* dependencies: allow to fallback on CMake to find the SDL2 libraryMatthieu Bouron2023-04-241-3/+3
| | | | | | On Windows, the SDL2 library is generally provided with only CMake config files. This commit allows meson to fallback on CMake as a last resort to find the SDL2 library.
* Initial support for Metrowerks C/C++ compilerNomura2023-04-242-0/+9
|
* rust: Add new `rust_dependency_map` target configurationSebastian Dröge2023-04-212-0/+28
| | | | | | This allows changing the crate name with which a library ends up being available inside the Rust code, similar to cargo's dependency renaming feature or `extern crate foo as bar` inside Rust code.
* docs: update the Rust bindgen docs to talk about assertionsDylan Baker2023-04-211-0/+9
| | | | | | Since we now guarantee that Rust and C/C++ will have assertions both on or both off, we can give guidance about using `cfg(debug_assertions)` to wrap code using `#ifdef NDEBUG`.
* rust: add support for b_ndebugDylan Baker2023-04-211-0/+6
| | | | | | | Rust has a `debug_assert!()` macro, which is designed to be toggled on the command line. It is on by default in debug builds, and off by default in release builds, in cargo. This matches what meson's b_ndebug option does in `if-release` mode.
* intro: add more details to generated json filesCharles Brunet2023-04-201-0/+9
| | | | | | | | | | | | | | This will help with the writing of tools to generate VisualStudio project and solution files, and possibly for other IDEs as well. - Used compilers a about `host`, `build` and `target` machines arere listed in `intro-compilers.json` - Informations lister in `intro-machines.json` - `intro-dependencies.json` now includes internal dependencies, and relations between dependencies. - `intro-targets.json` now includes dependencies, `vs_module_defs`, `win_subsystem`, and linker parameters.
* extra_files keyword in declare_dependency()Charles Brunet2023-04-202-0/+11
|
* Update Users.md [skip ci]Volker Weißmann2023-04-171-0/+1
|
* fix various spelling issuesJosh Soref2023-04-1141-57/+57
| | | | Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* Change "can not" to "cannot" throughout projectHiPhish2023-04-1114-17/+17
| | | | | The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
* Fix spelling and grammar in Dependencies.mdPete Dietl2023-04-111-3/+3
|
* Generate relnotes for 1.1.0.Jussi Pakkanen2023-04-1020-198/+225
|
* Make --vsenv a readonly builtin optionXavier Claessens2023-03-291-5/+21
| | | | | | | | | We need to remember its value when reconfiguring, but the Build object is not reused, only coredata is. This also makes CLI more consistent by allowing `-Dvsenv=true` syntax. Fixes: #11309
* doc: Use better name for builtin/return object titleXavier Claessens2023-03-282-1/+2
| | | | | | | The title is used only in the sidebar. There is no need to have "extends" information there. For returned objects the actual name is not meaningful so it's better to use the long name. For builtin objects the name is important because that's the global variable name.
* doc: Fix some broken linksXavier Claessens2023-03-282-3/+3
|
* docs: replace most uses of `meson_options.txt` with `meson.options`Dylan Baker2023-03-286-7/+8
| | | | | I've left the old release notes in place, but updated everything else to use `meson.options`
* Add support for meson.options as a replacement for meson_options.txtDylan Baker2023-03-283-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | We will still try to load `meson_options.txt` if `meson.options` doesn't exist. Because there are some advantages to using `meson.options` even with older versions of meson (such as better text editor handling) we will not warn about the existence of a `meson.options` file if a `meson_options.txt` file or symlink also exists. The name `meson.options` was picked instead of alternative proposals, such as `meson_options.build` for a couple of reasons: 1. meson.options is shorter 2. While the syntax is the same, only the `option()` function may be called in meson.options, while, it may not be called in meson.build 3. While the two files share a syntax and elementary types (strings, arrays, etc), they have different purposes: `meson.build` declares build targets, `meson.options` declares options. This is similar to the difference between C's `.c` and `.h` extensions. As an implementation detail `Interpreter.option_file` has been removed, as it is used exactly once, in the `project()` call to read the options, and we can just calculate it there and not store it. Fixes: #11176
* Allow --reconfigure and --wipe of empty builddirXavier Claessens2023-03-271-0/+10
| | | | | | | This allows to run setup command regardless whether the builddir has been configured or not previously. This is useful for example with scripts that always repeat all options. meson setup builddir --reconfigure -Dfoo=bar
* docs: add 2022 video from PyCon USandy59952023-03-271-0/+3
|
* backends: add a new "none" backendEli Schwartz2023-03-202-1/+15
| | | | | | | | | | | It can only be used for projects that don't have any rules at all, i.e. they are purely using Meson to: - configure files - run (script?) tests - install files that exist by the end of the setup stage This can be useful e.g. for Meson itself, a pure python project.
* fix meson compile with alias targetCharles Brunet2023-03-171-1/+1
| | | | this fixes a bug introduced by #11528
* dependencies: add pybind11 custom factoryEli Schwartz2023-03-092-0/+15
| | | | | | | | | | | | | | This works with pkg-config and cmake without any special support. The custom factory adds further support for config-tool, via `pybind11-config`. This is useful because the config-tool will work out of the box when pybind11 is installed, but the pkg-config and cmake files are shoved into python's site-packages, which is an unfortunate distribution model and makes it impossible to use in an out of the box manner. It's possible to manually set up the PKG_CONFIG_PATH to detect it anyway, but in case that does not happen, having the config-tool fallback is extremely useful.
* doc: remove unexisting operators from grammarCharles Brunet2023-03-021-1/+1
|
* mintro: redirect stdout to stderrCharles Brunet2023-03-021-0/+5
|
* docs: document default_options behaviourJohn Levon2023-03-011-0/+5
| | | | | | | | As discussed in issue #8037, using `c_args` in `project()` leads to `CFLAGS` not being respected, which is a common mistake. Document this and suggest using `add_project_arguments()` instead. Signed-off-by: John Levon <levon@movementarian.org>
* docs: fix a small typoJohn Levon2023-03-011-1/+1
| | | | | | s/Accecpts/Accepts/ Signed-off-by: John Levon <levon@movementarian.org>
* doc: Be more specific about warning_level optionXavier Claessens2023-02-281-0/+17
| | | | Fixes: #11469
* Improve unity build documentationCharles Brunet2023-02-271-1/+15
|
* docs: add Criterionandy59952023-02-271-0/+1
|
* documentation: there is no unary + operatorCharles Brunet2023-02-271-1/+1
|
* docs: fix bad advice to use python module to find pythonEli Schwartz2023-02-241-2/+2
|
* docs: add gcc to list of compilers with sanitize toolsandy59952023-02-231-1/+1
|
* Update Vs-External.mdValeri2023-02-231-1/+1
| | | Fix minor typo
* minstall: drop privileges before running rebuild_allEli Schwartz2023-02-202-1/+19
| | | | | | | | If the user runs `sudo meson install` this may run ninja to build everything that gets installed. This naturally happens as root also, by default, which is bad. Instead, detect root elevation tools and drop the uid/gid of the child ninja process back to the original invoking user before doing anything.
* minstall: rework root elevation prompt for extensibility and behaviorEli Schwartz2023-02-202-0/+23
| | | | | | | | | | | | | | | | There's a couple issues with the current approach: - pkexec is an unusual elevation method, the standard is sudo - it tries to elevate even in automated workflows - the user may not want to automatically rerun as root, that might be badly behaved Do some upfront checks instead, first to make sure it even makes sense to try becoming root, and then to ask the user "do you really want this". Also check for a couple common approaches to root elevation, including doas. Fixes #7345 Fixes #7809
* interpreter/mesonmain: Add build_options methodL. E. Segovia2023-02-201-0/+15
| | | | | | | | This method allows meson.build to introspect on the changed options. It works by merely exposing the same set of data that is logged by MesonApp._generate. Fixes #10898
* docs/prebuilt: Add an example of how to use a wrap fileDylan Baker2023-02-161-0/+27
| | | | When using a pre-built library
* docs/prebuilt: add some sanity checking to the example.Dylan Baker2023-02-161-0/+5
| | | | | Instead of just giving a note about about how this is best practice, actually do it.