summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix shared libs and using one source in multiple targets.xcodelibsJussi Pakkanen2021-04-061-57/+89
|
* Fix building static libs with the Xcode backend.Jussi Pakkanen2021-04-061-1/+2
|
* Merge pull request #8616 from mesonbuild/xcodewarnoptJussi Pakkanen2021-04-061-139/+155
|\ | | | | Set debug, optimization and warning flags in Xcode
| * LGTM fix.xcodewarnoptJussi Pakkanen2021-04-051-1/+1
| |
| * Use warning args in the Xcode backend.Jussi Pakkanen2021-04-051-14/+18
| |
| * Use actual build type rather than hardcoding "debug".Jussi Pakkanen2021-04-051-14/+14
| |
| * Set debug info in the Xcode native way.Jussi Pakkanen2021-04-051-4/+2
| |
| * Set optimization level in the Xcode native way.Jussi Pakkanen2021-04-051-3/+11
| |
| * Refactor Xcode target generation to its own method.Jussi Pakkanen2021-04-051-116/+122
| |
* | docs: document bool to_int and to_string methodsSimon Ser2021-04-061-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
* | Typo fix. [skip ci]Jussi Pakkanen2021-04-061-1/+1
| |
* | Add Chinese page to sitemap. [skip ci]Jussi Pakkanen2021-04-062-1/+2
| |
* | Add Chinese translation of the getting Meson page [skip ci]Chippy2021-04-061-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.
* Merge pull request #8614 from mesonbuild/xcoderefactorJussi Pakkanen2021-04-051-522/+548
|\ | | | | Refactor the Xcode backend
| * Fix LGTM issues.xcoderefactorJussi Pakkanen2021-04-041-8/+5
| |
| * Move constant to module level.Jussi Pakkanen2021-04-041-19/+19
| |
| * Delete old implementation.Jussi Pakkanen2021-04-041-498/+47
| |
| * Add last few things we skipped.Jussi Pakkanen2021-04-041-2/+15
| |
| * Fix all the minor things that got broken.Jussi Pakkanen2021-04-041-35/+48
| |
| * Converted the last bit.Jussi Pakkanen2021-04-041-3/+35
| |
| * Convert build configuration.Jussi Pakkanen2021-04-041-3/+97
| |
| * Convert a few more.Jussi Pakkanen2021-04-041-11/+71
| |
| * Convert PBXGroup.Jussi Pakkanen2021-04-041-5/+72
| |
| * Convert a few more.Jussi Pakkanen2021-04-041-10/+51
| |
| * Reduce verbosity.Jussi Pakkanen2021-04-031-21/+27
| |
| * Convert one more object type and some scaffolding.Jussi Pakkanen2021-04-031-6/+73
| |
| * Start refactoring the xcode backend by creating proper classes for pbx ↵Jussi Pakkanen2021-04-031-5/+92
| | | | | | | | primitives.
* | Merge pull request #8606 from dcbaker/submit/fix-for-build-env-variablesJussi Pakkanen2021-04-033-17/+45
|\ \ | |/ |/| Fix _FOR_BUILD env variables
| * tests: Add a test for the _FOR_BUILD env varsDylan Baker2021-04-011-0/+20
| |
| * environment: get environment variables for both host and build machinesDylan Baker2021-04-012-14/+17
| | | | | | | | Fixes #8605
| * unittests: extend machine file override tests for CFLAGS (and friends)Dylan Baker2021-04-011-5/+10
| | | | | | | | | | They behave slightly differently than other env vars, so have a test for them as well.
* | interpreter: Move to its own folder and split itXavier Claessens2021-04-019-2129/+2211
|/
* Split environment variable and command line cflagsDylan Baker2021-03-304-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
* scripts/meson_exe: fix stdout and stderr decodingAleksandr Mezin2021-03-301-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
* docs: change duplicate "**.h" path to "**.c" [skip ci]Guilherme Janczak2021-03-301-1/+1
|
* Do not add custom target dir automatically when implicit false.Jussi Pakkanen2021-03-299-4/+79
|
* wrap: Tell which wrap-redirect file is missingSeungha Yang2021-03-291-1/+1
| | | | Otherwise user cannot understand which wrap file is missing or wrong
* msubprojects: wrap-file should be re-extracted with --resetXavier Claessens2021-03-283-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.
* coredata: Fix dependency cacheDylan Baker2021-03-281-1/+1
| | | | The host cache had BUILD, which is wrong.
* Merge pull request #8596 from mesonbuild/cudafix0572Jussi Pakkanen2021-03-283-17/+83
|\ | | | | Fixed version of #8527
| * Strip host-compiler -std flag from NVCC line.cudafix0572Olexa Bilaniuk2021-03-283-1/+36
| | | | | | | | Closes #8523.
| * Retract "DQSQ" merging in NVCC arguments handling.Olexa Bilaniuk2021-03-281-15/+0
| | | | | | | | | | No coverage, no tests, unreadable, unused, likely premature optimization.
| * Canonicalize and merge consecutive -Xcompiler flags together.Olexa Bilaniuk2021-03-281-1/+47
| | | | | | | | Makes command-line more readable.
* | docs: Provide working instructions for scan-build [skip ci]Patryk Obara2021-03-281-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.
* Added some wrap review docs. [skip ci]Jussi Pakkanen2021-03-272-1/+39
|
* pkgconfig: Allow setting prefix in dataonly pc fileXavier Claessens2021-03-263-3/+11
| | | | | | | | Some variables are reserved because meson set them automatically. But we are not setting them for dataonly pc files, so there is no reason to reserve them. Fixes: #8583.
* backends: Remove @PRIVATE_OUTDIR_(ABS)@ substitutionXavier Claessens2021-03-261-12/+0
| | | | It is not documented and does not seems to be used anywhere.
* Remove ConfigureFile and ConfigureFileHolderXavier Claessens2021-03-262-42/+5
| | | | They are not used anywhere.
* modules/external_project: use typed_pos_argsDylan Baker2021-03-261-9/+5
|
* windows_proof_rmtree: Also retry os.chmod() partXavier Claessens2021-03-261-2/+9
| | | | | It looks like when Windows media scanner holds files we can't change their permission neither.