diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2023-07-17 00:39:44 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-07-17 00:39:44 +0300 |
commit | 7824ff80dcaa457706a4f762e976383e6bd03daf (patch) | |
tree | df34812be3c863f7bc8b21213b23043e2fa84917 /docs/markdown/snippets | |
parent | 0dba7340ecfbe84231a14559ef7f9e7dfb7d1299 (diff) | |
download | meson-7824ff80dcaa457706a4f762e976383e6bd03daf.zip meson-7824ff80dcaa457706a4f762e976383e6bd03daf.tar.gz meson-7824ff80dcaa457706a4f762e976383e6bd03daf.tar.bz2 |
Whoopsie, forgot to create the release notes.
Diffstat (limited to 'docs/markdown/snippets')
19 files changed, 0 insertions, 160 deletions
diff --git a/docs/markdown/snippets/add_metrowerks_compiler.md b/docs/markdown/snippets/add_metrowerks_compiler.md deleted file mode 100644 index cebf74f..0000000 --- a/docs/markdown/snippets/add_metrowerks_compiler.md +++ /dev/null @@ -1,5 +0,0 @@ -## Added Metrowerks C/C++ toolchains - -Added support for the Metrowerks Embedded ARM and Metrowerks Embedded PowerPC toolchains (https://www.nxp.com/docs/en/reference-manual/CWMCUKINCMPREF.pdf). - -The implementation is somewhat experimental. It has been tested on a few projects and works fairly well, but may have issues. diff --git a/docs/markdown/snippets/add_str_splitlines_method.md b/docs/markdown/snippets/add_str_splitlines_method.md deleted file mode 100644 index 6787f17..0000000 --- a/docs/markdown/snippets/add_str_splitlines_method.md +++ /dev/null @@ -1,3 +0,0 @@ -## Added str.splitlines method - -[[str.splitlines]] can now be used to split a string into an array of lines. diff --git a/docs/markdown/snippets/allow_generator_chaining.md b/docs/markdown/snippets/allow_generator_chaining.md deleted file mode 100644 index 92e4c1b..0000000 --- a/docs/markdown/snippets/allow_generator_chaining.md +++ /dev/null @@ -1,8 +0,0 @@ -## `generator.process(generator.process(...))` - -Added support for code like this: -```meson -gen1 = generator(...) -gen2 = generator(...) -gen2.process(gen1.process('input.txt')) -``` diff --git a/docs/markdown/snippets/dep_extra_files.md b/docs/markdown/snippets/dep_extra_files.md deleted file mode 100644 index 6366c16..0000000 --- a/docs/markdown/snippets/dep_extra_files.md +++ /dev/null @@ -1,4 +0,0 @@ -## Extra files keyword in `declare_dependency` - -`declare_dependency` have a new `extra_files` keyword, -to add extra files to a target. It is used mostly for IDE integration. diff --git a/docs/markdown/snippets/gen_vslite.md b/docs/markdown/snippets/gen_vslite.md deleted file mode 100644 index e647b04..0000000 --- a/docs/markdown/snippets/gen_vslite.md +++ /dev/null @@ -1,11 +0,0 @@ -## Added a new '--genvslite' option for use with 'meson setup ...' - -To facilitate a more usual visual studio work-flow of supporting and switching between -multiple build configurations (buildtypes) within the same solution, among other -[reasons](https://github.com/mesonbuild/meson/pull/11049), use of this new option -has the effect of setting up multiple ninja back-end-configured build directories, -named with their respective buildtype suffix. E.g. 'somebuilddir_debug', -'somebuilddir_release', etc. as well as a '_vs'-suffixed directory that contains the -generated multi-buildtype solution. Building/cleaning/rebuilding in the solution -now launches the meson build (compile) of the corresponding buildtype-suffixed build -directory, instead of using Visual Studio's native engine.
\ No newline at end of file diff --git a/docs/markdown/snippets/generate_gir_kwarg_env.md b/docs/markdown/snippets/generate_gir_kwarg_env.md deleted file mode 100644 index c313b40..0000000 --- a/docs/markdown/snippets/generate_gir_kwarg_env.md +++ /dev/null @@ -1,3 +0,0 @@ -## `gnome.generate_gir()` now supports `env` kwarg - -`gnome.generate_gir()` now accepts the `env` kwarg which lets you set environment variables. diff --git a/docs/markdown/snippets/more_intro_data.md b/docs/markdown/snippets/more_intro_data.md deleted file mode 100644 index 2ce65a3..0000000 --- a/docs/markdown/snippets/more_intro_data.md +++ /dev/null @@ -1,9 +0,0 @@ -## More data in introspection files - -- Used compilers are listed in `intro-compilers.json` -- Informations about `host`, `build` and `target` machines - are 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. diff --git a/docs/markdown/snippets/moremachinedata.md b/docs/markdown/snippets/moremachinedata.md deleted file mode 100644 index 978cb9c..0000000 --- a/docs/markdown/snippets/moremachinedata.md +++ /dev/null @@ -1,12 +0,0 @@ -## Machine objects get `kernel` and `subsystem` properties - -Meson has traditionally provided a `system` property to detect the -system being run on. However this is not enough to reliably -differentiate between e.g. an iOS platform from a watchOS one. Two new -properties, namely `kernel` and `subsystem` have been added so these -setups can be reliably detected. - -These new properties are not necessary in cross files for now, but if -they are not defined and a build file tries to access them, Meson will -exit with a hard error. It is expected that at some point in the -future defining the new properties will become mandatory. diff --git a/docs/markdown/snippets/option_dict.md b/docs/markdown/snippets/option_dict.md deleted file mode 100644 index 79cca5f..0000000 --- a/docs/markdown/snippets/option_dict.md +++ /dev/null @@ -1,5 +0,0 @@ -## default_options and override_options may now be dictionaries - -Instead of passing them as `default_options : ['key=value']`, they can now be -passed as `default_options : {'key': 'value'}`, and the same for -`override_options`. diff --git a/docs/markdown/snippets/override-find-program-meson.md b/docs/markdown/snippets/override-find-program-meson.md deleted file mode 100644 index 5d281cd..0000000 --- a/docs/markdown/snippets/override-find-program-meson.md +++ /dev/null @@ -1,38 +0,0 @@ -## New override of `find_program('meson')` - -In some cases, it has been useful for build scripts to access the Meson command -used to invoke the build script. This has led to various ad-hoc solutions that -can be very brittle and project-specific. - -```meson -meson_prog = find_program('meson') -``` - -This call will supply the build script with an external program pointing at the -invoked Meson. - -Because Meson also uses `find_program` for program lookups internally, this -override will also be handled in cases similar to the following: - -```meson -custom_target( - # ... - command: [ - 'meson', - ], - # ... -) - -run_command( - 'meson', - # ... -) - -run_target( - 'tgt', - command: [ - 'meson', - # ... - ] -) -``` diff --git a/docs/markdown/snippets/python-find-version.md b/docs/markdown/snippets/python-find-version.md deleted file mode 100644 index 0cd6672..0000000 --- a/docs/markdown/snippets/python-find-version.md +++ /dev/null @@ -1,6 +0,0 @@ -## Find more specific python version on Windows - -You can now use `python3.x`, where `x` is the minor version, -to find a more specific version of python on Windows, when -using the python module. On other platforms, it was already -working as `python3.x` is the executable name. diff --git a/docs/markdown/snippets/python_bytecompile.md b/docs/markdown/snippets/python_bytecompile.md deleted file mode 100644 index 0240c9d..0000000 --- a/docs/markdown/snippets/python_bytecompile.md +++ /dev/null @@ -1,4 +0,0 @@ -## Python module can now compile bytecode - -A new builtin option is available: `-Dpython.bytecompile=2`. It can be used to -compile bytecode for all pure python files installed via the python module. diff --git a/docs/markdown/snippets/rust_bindegen_extra_args.md b/docs/markdown/snippets/rust_bindegen_extra_args.md deleted file mode 100644 index 209d0bc..0000000 --- a/docs/markdown/snippets/rust_bindegen_extra_args.md +++ /dev/null @@ -1,3 +0,0 @@ -## rust.bindgen allows passing extra arguments to rustc - -This may be necessary to pass extra `cfg`s or to change warning levels. diff --git a/docs/markdown/snippets/rust_dependency_map.md b/docs/markdown/snippets/rust_dependency_map.md deleted file mode 100644 index 62c9dae..0000000 --- a/docs/markdown/snippets/rust_dependency_map.md +++ /dev/null @@ -1,18 +0,0 @@ -## Support for defining crate names of Rust dependencies in Rust targets - -Rust supports defining a different crate name for a dependency than what the -actual crate name during compilation of that dependency was. - -This allows using multiple versions of the same crate at once, or simply using -a shorter name of the crate for convenience. - -```meson -a_dep = dependency('some-very-long-name') - -my_executable = executable('my-executable', 'src/main.rs', - rust_dependency_map : { - 'some_very_long_name' : 'a', - }, - dependencies : [a_dep], -) -``` diff --git a/docs/markdown/snippets/rust_extra_clang_bindgen_arguments.md b/docs/markdown/snippets/rust_extra_clang_bindgen_arguments.md deleted file mode 100644 index 71268d4..0000000 --- a/docs/markdown/snippets/rust_extra_clang_bindgen_arguments.md +++ /dev/null @@ -1,8 +0,0 @@ -## A machine file may be used to pass extra arguments to clang in a bindgen call - -Because of the way that bindgen proxies arguments to clang the only choice to -add extra arguments currently is to wrap bindgen in a script, since the -arguments must come after a `--`. This is inelegant, and not very portable. Now -a `bindgen_clang_arguments` field may be placed in the machine file for the host -machine, and these arguments will be added to every bindgen call for clang. This -is intended to be useful for things like injecting `--target` arguments. diff --git a/docs/markdown/snippets/rust_test_link_with.md b/docs/markdown/snippets/rust_test_link_with.md deleted file mode 100644 index 9c2b7d6..0000000 --- a/docs/markdown/snippets/rust_test_link_with.md +++ /dev/null @@ -1,4 +0,0 @@ -## Add a `link_with` keyword to `rust.test()` - -This can already be be worked around by creating `declare_dependency()` objects -to pass to the `dependencies` keyword, but this cuts out the middle man. diff --git a/docs/markdown/snippets/rustc-ndebug.md b/docs/markdown/snippets/rustc-ndebug.md deleted file mode 100644 index e353865..0000000 --- a/docs/markdown/snippets/rustc-ndebug.md +++ /dev/null @@ -1,6 +0,0 @@ -## Rust now supports the b_ndebug option - -Which controls the `debug_assertions` cfg, which in turn controls -`debug_assert!()` macro. This macro is roughly equivalent to C's `assert()`, as -it can be toggled with command line options, unlike Rust's `assert!()`, which -cannot be turned off, and is not designed to be. diff --git a/docs/markdown/snippets/test_name_filters.md b/docs/markdown/snippets/test_name_filters.md deleted file mode 100644 index 14e62a9..0000000 --- a/docs/markdown/snippets/test_name_filters.md +++ /dev/null @@ -1,9 +0,0 @@ -## Wildcards in list of tests to run - -The `meson test` command now accepts wildcards in the list of test names. -For example `meson test basic*` will run all tests whose name begins -with "basic". - -meson will report an error if the given test name does not match any -existing test. meson will log a warning if two redundant test names -are given (for example if you give both "proj:basic" and "proj:"). diff --git a/docs/markdown/snippets/visual_studio_project_generation.md b/docs/markdown/snippets/visual_studio_project_generation.md deleted file mode 100644 index 127733d..0000000 --- a/docs/markdown/snippets/visual_studio_project_generation.md +++ /dev/null @@ -1,4 +0,0 @@ -## New for the generation of Visual Studio vcxproj projects - -When vcxproj is generated, another file vcxproj.filters is generated in parallel. -It enables to set a hierarchy of the files inside the solution following their place on filesystem.
\ No newline at end of file |