diff options
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/about_minimum_python_version.md | 7 | ||||
-rw-r--r-- | docs/markdown/snippets/armclang-support.md | 6 | ||||
-rw-r--r-- | docs/markdown/snippets/check_false_warning.md | 14 | ||||
-rw-r--r-- | docs/markdown/snippets/cmake_deprecated.md | 7 | ||||
-rw-r--r-- | docs/markdown/snippets/extract-more-objects.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/fix_backend_startup_project.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/install_symlink.md | 11 | ||||
-rw-r--r-- | docs/markdown/snippets/removing_rpm_module.md | 10 | ||||
-rw-r--r-- | docs/markdown/snippets/rewriter_extra_files.md | 26 | ||||
-rw-r--r-- | docs/markdown/snippets/sccache.md | 5 | ||||
-rw-r--r-- | docs/markdown/snippets/vs_2022.md | 10 | ||||
-rw-r--r-- | docs/markdown/snippets/windows_custom_targets.md | 22 |
12 files changed, 23 insertions, 103 deletions
diff --git a/docs/markdown/snippets/about_minimum_python_version.md b/docs/markdown/snippets/about_minimum_python_version.md new file mode 100644 index 0000000..fa44a75 --- /dev/null +++ b/docs/markdown/snippets/about_minimum_python_version.md @@ -0,0 +1,7 @@ +## Minimum required Python version updated to 3.7 + +Meson now requires at least Python version 3.7 to run as Python 3.6 reached EOL +on December 2021. In practice this should only affect people developing on +Ubuntu Bionic, who will need to manually install python3.8 from the official +repositories. + diff --git a/docs/markdown/snippets/armclang-support.md b/docs/markdown/snippets/armclang-support.md new file mode 100644 index 0000000..80e7af2 --- /dev/null +++ b/docs/markdown/snippets/armclang-support.md @@ -0,0 +1,6 @@ +## Support for ARM Ltd. Clang toolchain + +Support for the `armltdclang` compiler has been added. This differs from the +existing `armclang` toolchain in that it is a fork of Clang by ARM Ltd. and +supports native compilation. The Keil `armclang` toolchain only supports +cross-compilation to embedded devices. diff --git a/docs/markdown/snippets/check_false_warning.md b/docs/markdown/snippets/check_false_warning.md deleted file mode 100644 index 50214b7..0000000 --- a/docs/markdown/snippets/check_false_warning.md +++ /dev/null @@ -1,14 +0,0 @@ -## Warning if check kwarg of run_command is missing - -The `check` kwarg of `run_command` currently defaults to `false`. -Because we want to change that, running -```meson -run_command('cmd') -``` -now results in: -```text -WARNING: You should add the boolean check kwarg to the run_command call. - It currently defaults to false, - but it will default to true in future releases of meson. - See also: https://github.com/mesonbuild/meson/issues/9300 -``` diff --git a/docs/markdown/snippets/cmake_deprecated.md b/docs/markdown/snippets/cmake_deprecated.md deleted file mode 100644 index 9e456e7..0000000 --- a/docs/markdown/snippets/cmake_deprecated.md +++ /dev/null @@ -1,7 +0,0 @@ -## Support for CMake <3.14 is now deprecated for CMake subprojects - -In CMake 3.14, the File API was introduced and the old CMake server API was -deprecated (and removed in CMake 3.20). Thus support for this API will also -be removed from Meson in future releases. - -This deprecation only affects CMake subprojects. diff --git a/docs/markdown/snippets/extract-more-objects.md b/docs/markdown/snippets/extract-more-objects.md deleted file mode 100644 index 73a4757..0000000 --- a/docs/markdown/snippets/extract-more-objects.md +++ /dev/null @@ -1,4 +0,0 @@ -## ``extract_objects()`` supports generated sources - -Custom targets or generated files (returned by ``generator.process()``) -can now be passed to ``extract_objects()``. diff --git a/docs/markdown/snippets/fix_backend_startup_project.md b/docs/markdown/snippets/fix_backend_startup_project.md deleted file mode 100644 index 8269ef6..0000000 --- a/docs/markdown/snippets/fix_backend_startup_project.md +++ /dev/null @@ -1,4 +0,0 @@ -## backend_startup_project - -`backend_startup_project` will no longer erase the last project in a VS -solution if it is not the specified project. diff --git a/docs/markdown/snippets/install_symlink.md b/docs/markdown/snippets/install_symlink.md deleted file mode 100644 index 752c422..0000000 --- a/docs/markdown/snippets/install_symlink.md +++ /dev/null @@ -1,11 +0,0 @@ -## install_symlink function - -It is now possible to request for symbolic links to be installed during -installation. The `install_symlink` function takes a positional argument to -the link name, and installs a symbolic link pointing to `pointing_to` target. -The link will be created under `install_dir` directory and cannot contain path -separators. - -```meson -install_symlink('target', pointing_to: '../bin/target', install_dir: '/usr/sbin') -``` diff --git a/docs/markdown/snippets/removing_rpm_module.md b/docs/markdown/snippets/removing_rpm_module.md new file mode 100644 index 0000000..c492d51 --- /dev/null +++ b/docs/markdown/snippets/removing_rpm_module.md @@ -0,0 +1,10 @@ +## Removal of the RPM module + +Due to lack of interest, lack of maintainership, and lack of a clear purpose, +the RPM module has been removed. + +Users interested in one-shot tools to generate an RPM spec file template for +distro packaging, are encouraged develop an external tool that reads the +introspection data. + +For more details, see https://github.com/mesonbuild/meson/issues/9764 diff --git a/docs/markdown/snippets/rewriter_extra_files.md b/docs/markdown/snippets/rewriter_extra_files.md deleted file mode 100644 index c46f076..0000000 --- a/docs/markdown/snippets/rewriter_extra_files.md +++ /dev/null @@ -1,26 +0,0 @@ -## `meson rewrite` can modify `extra_files` - -The build script rewriter can now modify targets' `extra_files` lists, -or create them if absent. It it used in the same way as with rewriting -source lists: - -```bash -meson rewrite target <target name/id> {add_extra_files/rm_extra_files} [list of extra files] -``` - -The rewriter's script mode also supports these actions: - -```json -{ - "type": "target", - "target": "<target name>", - "operation": "extra_files_add / extra_files_rm", - "sources": ["list", "of", "extra", "files", "to", "add, remove"], -} -``` - -## `meson rewrite target <target> info` outputs *target*'s `extra_files` - -Targets' `extra_files` lists are now included in the rewriter's target info dump -as a list of file paths, in the same way `sources` are. This applies to both -`meson rewrite` CLI and script mode. diff --git a/docs/markdown/snippets/sccache.md b/docs/markdown/snippets/sccache.md deleted file mode 100644 index 72bdf5f..0000000 --- a/docs/markdown/snippets/sccache.md +++ /dev/null @@ -1,5 +0,0 @@ -## Added support for sccache - -Meson now supports [sccache](https://github.com/mozilla/sccache) just -like it has supported CCache. If both sccache and CCache are -available, the autodetection logic prefers sccache. diff --git a/docs/markdown/snippets/vs_2022.md b/docs/markdown/snippets/vs_2022.md deleted file mode 100644 index 0c3ff02..0000000 --- a/docs/markdown/snippets/vs_2022.md +++ /dev/null @@ -1,10 +0,0 @@ -## Visual Studio 2022 backend - -As Visual Studio 2022 is released recently, it's time to support the -new version in Meson. This mainly includes the new "v143" platform tools. - -The usage is similar to other backends. For example -```meson -meson setup builddir --backend=vs2022 -``` -will configure "builddir" for projects compatible with Visual Studio 2022. diff --git a/docs/markdown/snippets/windows_custom_targets.md b/docs/markdown/snippets/windows_custom_targets.md deleted file mode 100644 index cbc2f9d..0000000 --- a/docs/markdown/snippets/windows_custom_targets.md +++ /dev/null @@ -1,22 +0,0 @@ -## Windows.compile_resources CustomTarget - -Previously the Windows module only accepted CustomTargets with one output, it -now accepts them with more than one output, and creates a windows resource -target for each output. Additionally it now accepts indexes of CustomTargets - -```meson - -ct = custom_target( - 'multiple', - output : ['resource', 'another resource'], - ... -) - -ct2 = custom_target( - 'slice', - output : ['resource', 'not a resource'], - ... -) - -resources = windows.compile_resources(ct, ct2[0]) -``` |