meson/mesonbuild
Andrea Pappacoda 316cf3a717 cmake: add arch_independent kwarg
CMake's write_basic_package_version_file has supported since version 3.14
an ARCH_INDEPENDENT option that makes it skip its architecture check in
the Version file.

With this patch Meson now supports it as well, and the change is also
compatible with older CMake versions, as they will simply ignore the
option.

This also slightly changes the contents of the generated Version file
when arch_independent is not set: previously, the if() needed to skip
the arch check was always filled with an empty string, while CMake puts
"FALSE" (or "TRUE") in it. Now, that if() will always be filled with
either "False" or "True", better matching CMake's behaviour.
2022-02-01 23:48:17 -05:00
..
ast add install_symlink function 2021-12-01 13:59:54 -05:00
backend minstall: stop running ldconfig for the user 2022-02-01 16:52:26 -05:00
cmake port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
compilers mark regex string as raw string to fix invalid escapes 2022-01-27 10:48:01 -08:00
dependencies new custom dependency lookup for libdl 2022-02-01 15:51:15 -05:00
interpreter build: replace kwargs in CustomTarget initializer 2022-01-28 15:53:20 -05:00
interpreterbase flake8: fix indentation style 2022-01-27 10:48:01 -08:00
linkers fix type annotations for compiler toolchain rpaths 2021-12-30 15:15:25 -05:00
mesonlib Popen_safe and wrappers can accept os.PathLike for cwd 2022-01-26 22:08:09 -05:00
modules cmake: add arch_independent kwarg 2022-02-01 23:48:17 -05:00
scripts Merge pull request #9742 from ximion/wip/itstool 2022-01-22 01:01:29 +02:00
templates flake8: fix indentation style 2022-01-27 10:48:01 -08:00
wrap Checkout subproject submodules even when nested 2022-01-27 11:13:40 -05:00
__init__.py
_pathlib.py pathlib: Patch pathlib to work around some bugs (fixes #7295) 2021-06-29 11:28:08 +02:00
_typing.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
arglist.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
build.py build: replace kwargs in CustomTarget initializer 2022-01-28 15:53:20 -05:00
coredata.py Bump version number for new development. 2022-01-10 19:00:28 +02:00
depfile.py depfile: type annotate 2022-01-10 23:06:20 -05:00
envconfig.py first pass at migrating to dataclasses 2022-01-10 18:36:57 -05:00
environment.py coverage generator: obey the documentation and only generate supported outputs 2021-11-01 18:57:14 -04:00
mcompile.py mcompile: fix broken codepaths and restore orphaned code 2022-01-26 14:49:38 -05:00
mconf.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
mdevenv.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
mdist.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
mesondata.py port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
mesonmain.py do not report context on python traceback, for PermissionError 2022-01-27 18:49:17 -05:00
minit.py Add vala template 2021-11-16 22:25:14 -05:00
minstall.py minstall: stop running ldconfig for the user 2022-02-01 16:52:26 -05:00
mintro.py introspect: include choices for array options 2021-10-14 09:04:25 -04:00
mlog.py fix type annotations for mlog nesting 2021-12-30 15:15:25 -05:00
mparser.py first pass at migrating to dataclasses 2022-01-10 18:36:57 -05:00
msetup.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
msubprojects.py first pass at migrating to dataclasses 2022-01-10 18:36:57 -05:00
mtest.py Activate VS env when running `meson test` 2021-12-11 21:26:36 +02:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py fix some flake8 violations for unused imports 2022-01-27 10:48:01 -08:00
programs.py interpreter: use typed_kwargs for run_command 2021-11-29 18:12:33 -08:00
rewriter.py rewriter: create {add,rm}_extra_files commands 2021-12-15 21:21:29 +01:00