diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2023-04-17 12:46:46 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-06-19 18:03:57 +0300 |
commit | b0d2a925849be8826ec5f18755a5aed743f5c72d (patch) | |
tree | 0cafe07707aeb97d71cc27ff0f7fe87281b8a9b1 /docs/markdown/snippets | |
parent | 23efc1abeac2a7b95e22aaeb6ca178b492bf5247 (diff) | |
download | meson-b0d2a925849be8826ec5f18755a5aed743f5c72d.zip meson-b0d2a925849be8826ec5f18755a5aed743f5c72d.tar.gz meson-b0d2a925849be8826ec5f18755a5aed743f5c72d.tar.bz2 |
Add kernel and subsystem properties to machine objects.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/moremachinedata.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/snippets/moremachinedata.md b/docs/markdown/snippets/moremachinedata.md new file mode 100644 index 0000000..978cb9c --- /dev/null +++ b/docs/markdown/snippets/moremachinedata.md @@ -0,0 +1,12 @@ +## 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. |