aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-04-07Fix Xcode targets in subdirs.xcodeevenmoreJussi Pakkanen2-5/+2
2021-04-07Remove unneeded variable.Jussi Pakkanen1-3/+3
2021-04-07Avoid rebuilding the target list all the time.Jussi Pakkanen1-30/+32
2021-04-07Skip compilers that are not used for a given target.Jussi Pakkanen1-0/+2
2021-04-07Fix shared libs and using one source in multiple targets.Jussi Pakkanen1-57/+89
2021-04-07Fix building static libs with the Xcode backend.Jussi Pakkanen1-1/+2
2021-04-06coredata: Check for built-in options as host optionsDylan Baker1-1/+5
These options often don't exist for the build machine, as they're generally invalid (ie, prefix, libdir, etc). So we should always check for their existance as host optiuons, since all we want to know in this case is if the option is yeilding (valid per-subproject), and build/vs host doesn't matter in that cases: Fixes #8613
2021-04-06environment: simplify handling of native files with no cross filesDylan Baker1-7/+3
Instead of treating native files as always being for the build machine, and then copying them to the host machine, treat them as for the build machine only when a cross file is also present
2021-04-06environment: fix typos in commentDylan Baker1-1/+1
2021-04-06environment: don't load project options from a native file in a cross buildDylan Baker2-2/+20
2021-04-06environment: Add some comments to the _load_machine_file_options methodDylan Baker1-2/+11
2021-04-06Merge pull request #8616 from mesonbuild/xcodewarnoptJussi Pakkanen1-139/+155
Set debug, optimization and warning flags in Xcode
2021-04-06docs: document bool to_int and to_string methodsSimon Ser1-0/+8
This documents the bool methods to_int and to_string implemented in [1]. [1]: https://github.com/mesonbuild/meson/blob/a9e9b7c7501a3c8a5984a93879d1f309bf8c72aa/mesonbuild/interpreterbase.py#L1109
2021-04-06Typo fix. [skip ci]Jussi Pakkanen1-1/+1
2021-04-06Add Chinese page to sitemap. [skip ci]Jussi Pakkanen2-1/+2
2021-04-06Add Chinese translation of the getting Meson page [skip ci]Chippy1-0/+56
* add zh * I am learning Meson and there is not Meson Chinese manual.so I want to write a Chinese manual. This is Getting-meson_zh.
2021-04-05LGTM fix.xcodewarnoptJussi Pakkanen1-1/+1
2021-04-05Use warning args in the Xcode backend.Jussi Pakkanen1-14/+18
2021-04-05Use actual build type rather than hardcoding "debug".Jussi Pakkanen1-14/+14
2021-04-05Set debug info in the Xcode native way.Jussi Pakkanen1-4/+2
2021-04-05Set optimization level in the Xcode native way.Jussi Pakkanen1-3/+11
2021-04-05Refactor Xcode target generation to its own method.Jussi Pakkanen1-116/+122
2021-04-05Merge pull request #8614 from mesonbuild/xcoderefactorJussi Pakkanen1-522/+548
Refactor the Xcode backend
2021-04-04Fix LGTM issues.Jussi Pakkanen1-8/+5
2021-04-04Move constant to module level.Jussi Pakkanen1-19/+19
2021-04-04Delete old implementation.Jussi Pakkanen1-498/+47
2021-04-04Add last few things we skipped.Jussi Pakkanen1-2/+15
2021-04-04Fix all the minor things that got broken.Jussi Pakkanen1-35/+48
2021-04-04Converted the last bit.Jussi Pakkanen1-3/+35
2021-04-04Convert build configuration.Jussi Pakkanen1-3/+97
2021-04-04Convert a few more.Jussi Pakkanen1-11/+71
2021-04-04Convert PBXGroup.Jussi Pakkanen1-5/+72
2021-04-04Convert a few more.Jussi Pakkanen1-10/+51
2021-04-03Reduce verbosity.Jussi Pakkanen1-21/+27
2021-04-03Convert one more object type and some scaffolding.Jussi Pakkanen1-6/+73
2021-04-03Start refactoring the xcode backend by creating proper classes for pbx ↵Jussi Pakkanen1-5/+92
primitives.
2021-04-03Merge pull request #8606 from dcbaker/submit/fix-for-build-env-variablesJussi Pakkanen3-17/+45
Fix _FOR_BUILD env variables
2021-04-01interpreter: Move to its own folder and split itXavier Claessens9-2129/+2211
2021-04-01tests: Add a test for the _FOR_BUILD env varsDylan Baker1-0/+20
2021-04-01environment: get environment variables for both host and build machinesDylan Baker2-14/+17
Fixes #8605
2021-04-01unittests: extend machine file override tests for CFLAGS (and friends)Dylan Baker1-5/+10
They behave slightly differently than other env vars, so have a test for them as well.
2021-03-30Split environment variable and command line cflagsDylan Baker4-7/+60
They are supposed to have different behavior. The environment variables apply to both the compiler and linker when the compiler acts as a linker, but the command line ones do not. Fixes #8345
2021-03-30scripts/meson_exe: fix stdout and stderr decodingAleksandr Mezin1-2/+4
1. use `locale.getpreferredencoding()` to get encoding name. `bytes.decode()` assumes `encoding='utf-8'` by default. It is incorrect on my Windows setup, and causes `UnicodeDecodeError`. 2. use `errors='replace'`. `bytes.decode()` assumes `errors='strict'` by default. Meson shouldn't crash if subprocess outputs some garbage that can't be decoded. `surrogateescape` doesn't work as expected on Windows. On Linux, default `errors` for `sys.stdout` is `strict`, so `surrogateescape` can't be used there too (at least until `sys.stdout` is reconfigured). Fixes https://github.com/mesonbuild/meson/issues/8480
2021-03-30docs: change duplicate "**.h" path to "**.c" [skip ci]Guilherme Janczak1-1/+1
2021-03-29Do not add custom target dir automatically when implicit false.Jussi Pakkanen9-4/+79
2021-03-29wrap: Tell which wrap-redirect file is missingSeungha Yang1-1/+1
Otherwise user cannot understand which wrap file is missing or wrong
2021-03-28msubprojects: wrap-file should be re-extracted with --resetXavier Claessens3-20/+35
When using --reset we should guarantee that next reconfigure will pick the latest code. For wrap-file we have no way to know if the revision changed, so we have to delete the source tree and extract again. It is unlikely that user has local changes in non-git subprojects, and --reset is known to be dangerous.
2021-03-28coredata: Fix dependency cacheDylan Baker1-1/+1
The host cache had BUILD, which is wrong.
2021-03-28Merge pull request #8596 from mesonbuild/cudafix0572Jussi Pakkanen3-17/+83
Fixed version of #8527
2021-03-28docs: Provide working instructions for scan-build [skip ci]Patryk Obara1-3/+17
Replace `meson compile scan-build` with `ninja -C dir scan-build`, because scan-build target does not work with `meson compile`. Note about SCANBUILD env variable was not precise enough to describe how to pass arguments to scan-build - provide an example to make it clear. Fixes: #7644.