commit | ecffbaee3ed69443efdc68cb372a779de862c921 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Wed Aug 16 09:56:58 2023 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Wed Aug 23 06:03:14 2023 +0000 |
tree | 62d08aff3b433f828feaf2c1088329d7467d3924 | |
parent | b5160f5c5205e7a571768df173c6aa40052c61fc [diff] |
meson_options.txt: Support for reading options from meson.options Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using the .txt extension for a build file has a few advantages, chief among them many tools and text editors expect a file with the .txt extension to be plain text files, not build scripts. [1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I621a1d4139a00aa5044e586fbe1163b35563cad9
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage