aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
AgeCommit message (Collapse)AuthorFilesLines
2021-04-06Fix shared libs and using one source in multiple targets.xcodelibsJussi Pakkanen1-57/+93
2021-04-06Fix building static libs with the Xcode backend.Jussi Pakkanen1-1/+2
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 Pakkanen2-14/+17
Fix _FOR_BUILD env variables
2021-04-01interpreter: Move to its own folder and split itXavier Claessens8-2127/+2209
2021-04-01environment: get environment variables for both host and build machinesDylan Baker2-14/+17
Fixes #8605
2021-03-30Split environment variable and command line cflagsDylan Baker3-7/+38
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-29Do not add custom target dir automatically when implicit false.Jussi Pakkanen1-4/+2
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 Claessens1-19/+25
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-28Strip host-compiler -std flag from NVCC line.cudafix0572Olexa Bilaniuk1-1/+12
Closes #8523.
2021-03-28Retract "DQSQ" merging in NVCC arguments handling.Olexa Bilaniuk1-15/+0
No coverage, no tests, unreadable, unused, likely premature optimization.
2021-03-28Canonicalize and merge consecutive -Xcompiler flags together.Olexa Bilaniuk1-1/+47
Makes command-line more readable.
2021-03-26pkgconfig: Allow setting prefix in dataonly pc fileXavier Claessens1-2/+4
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.
2021-03-26backends: Remove @PRIVATE_OUTDIR_(ABS)@ substitutionXavier Claessens1-12/+0
It is not documented and does not seems to be used anywhere.
2021-03-26Remove ConfigureFile and ConfigureFileHolderXavier Claessens2-42/+5
They are not used anywhere.
2021-03-26modules/external_project: use typed_pos_argsDylan Baker1-9/+5
2021-03-26windows_proof_rmtree: Also retry os.chmod() partXavier Claessens1-2/+9
It looks like when Windows media scanner holds files we can't change their permission neither.
2021-03-24Merge pull request #8568 from dcbaker/submit/qt-dependency-factoryJussi Pakkanen5-443/+527
QT: use a proper dependency factory
2021-03-24Use find_program also in add_*_script for consistency.Jussi Pakkanen1-18/+2
2021-03-24Use find_program also in custom_target for consistency.Jussi Pakkanen1-0/+3
2021-03-24Merge pull request #8571 from xclaesse/spurious-warningJussi Pakkanen1-1/+3
Fix spurious sandbox violation warning
2021-03-24depfixer: temporarily modify file permissionsHemmo Nieminen1-8/+33
If the installed files don't have suitable file permissions depfixer will fail to process it. Temporarily lax file permissions to work around this.
2021-03-24compilers: clang-cl: Also accept .s files (#8520)D Scott Phillips1-0/+3
* compilers: clang-cl: Also accept .s files clang-cl has support for gas-compatible assembly files. * Add clang-cl to '128 generated assembly' test
2021-03-23deprecated QMAKE dependency typeDylan Baker1-1/+4
Instead of using qmake, use config-tool. This is no different than when we deprecated the other per-dependency config-tool types (sdl2-config, llvm-config, etc) for just config-tool
2021-03-23Refactor Qt Dependency into proper split classes with factoriesDylan Baker4-157/+181
Currently the Qt Dependencies still use the old "combined" method for dependencies with multiple ways to be found. This is problematic as it means that `get_variable()` and friends don't work, as the dependency can't implement any of those methods. The correct solution is to make use of multiple Dependency instances, and a factory to tie them together. This does that. To handle QMake, I've leveraged the existing config-tool mechanism, which allows us to save a good deal of code, and use well tested code instead of rolling more of our own code. The one thing this doesn't do, but we probably should, is expose the macOS ExtraFrameworks directly, instead of forcing them to be found through QMake. That is a problem for another series, and someone who cares more about macOS than I do.
2021-03-23interpreter: Fix spurious warning in include_directories()Xavier Claessens1-1/+3
When doing include_directories('.') at the root of the subproject we should not warn about sandboxing violation.
2021-03-23devenv: Set GI_TYPELIB_PATH and LD_LIBRARY_PATH (#8548)Xavier Claessens2-8/+32
2021-03-23environment(): Allow stacking append() and prepend() (#8547)Xavier Claessens2-9/+7
* environment(): Allow stacking append() and prepend() * Update docs/markdown/Reference-manual.md Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com> Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>