Dylan Baker
111070bf49
environment: Add some comments to the _load_machine_file_options method
4 years ago
Jussi Pakkanen
b58e7d8478
Merge pull request #8616 from mesonbuild/xcodewarnopt
...
Set debug, optimization and warning flags in Xcode
4 years ago
Simon Ser
974e49fe0e
docs: document bool to_int and to_string methods
...
This documents the bool methods to_int and to_string implemented in
[1].
[1]: a9e9b7c750/mesonbuild/interpreterbase.py (L1109)
4 years ago
Jussi Pakkanen
016feca6dd
Typo fix. [skip ci]
4 years ago
Jussi Pakkanen
247d425a40
Add Chinese page to sitemap. [skip ci]
4 years ago
Chippy
e67268d520
Add Chinese translation of the getting Meson page [skip ci]
...
* 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.
4 years ago
Jussi Pakkanen
1dd2bbaa01
LGTM fix.
4 years ago
Jussi Pakkanen
3c3146195b
Use warning args in the Xcode backend.
4 years ago
Jussi Pakkanen
82f7f63932
Use actual build type rather than hardcoding "debug".
4 years ago
Jussi Pakkanen
99a8076b78
Set debug info in the Xcode native way.
4 years ago
Jussi Pakkanen
e5766454d6
Set optimization level in the Xcode native way.
4 years ago
Jussi Pakkanen
6043016a38
Refactor Xcode target generation to its own method.
4 years ago
Jussi Pakkanen
2d8332e7f1
Merge pull request #8614 from mesonbuild/xcoderefactor
...
Refactor the Xcode backend
4 years ago
Jussi Pakkanen
2d30f8d124
Fix LGTM issues.
4 years ago
Jussi Pakkanen
3420957c73
Move constant to module level.
4 years ago
Jussi Pakkanen
bf08bba371
Delete old implementation.
4 years ago
Jussi Pakkanen
c43007408c
Add last few things we skipped.
4 years ago
Jussi Pakkanen
fb70490bd3
Fix all the minor things that got broken.
4 years ago
Jussi Pakkanen
dc9e2d6269
Converted the last bit.
4 years ago
Jussi Pakkanen
3ce0ce86c9
Convert build configuration.
4 years ago
Jussi Pakkanen
a026213145
Convert a few more.
4 years ago
Jussi Pakkanen
7a3fdf70cc
Convert PBXGroup.
4 years ago
Jussi Pakkanen
d78dba08a7
Convert a few more.
4 years ago
Jussi Pakkanen
87f1007ba7
Reduce verbosity.
4 years ago
Jussi Pakkanen
18f718299c
Convert one more object type and some scaffolding.
4 years ago
Jussi Pakkanen
0967800705
Start refactoring the xcode backend by creating proper classes for pbx primitives.
4 years ago
Jussi Pakkanen
7ec9e81e6f
Merge pull request #8606 from dcbaker/submit/fix-for-build-env-variables
...
Fix _FOR_BUILD env variables
4 years ago
Xavier Claessens
558a7bc6ff
interpreter: Move to its own folder and split it
4 years ago
Dylan Baker
d569d0bb3c
tests: Add a test for the _FOR_BUILD env vars
4 years ago
Dylan Baker
f99ed692c4
environment: get environment variables for both host and build machines
...
Fixes #8605
4 years ago
Dylan Baker
848cacc38c
unittests: extend machine file override tests for CFLAGS (and friends)
...
They behave slightly differently than other env vars, so have a test for
them as well.
4 years ago
Dylan Baker
2cd0723c42
Split environment variable and command line cflags
...
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
4 years ago
Aleksandr Mezin
692f673312
scripts/meson_exe: fix stdout and stderr decoding
...
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
4 years ago
Guilherme Janczak
d1628b8bed
docs: change duplicate "**.h" path to "**.c" [skip ci]
4 years ago
Jussi Pakkanen
e80ff985fb
Do not add custom target dir automatically when implicit false.
4 years ago
Seungha Yang
448b11cb7f
wrap: Tell which wrap-redirect file is missing
...
Otherwise user cannot understand which wrap file is missing or wrong
4 years ago
Xavier Claessens
1ad469342b
msubprojects: wrap-file should be re-extracted with --reset
...
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.
4 years ago
Dylan Baker
23c706add1
coredata: Fix dependency cache
...
The host cache had BUILD, which is wrong.
4 years ago
Jussi Pakkanen
f335e1299b
Merge pull request #8596 from mesonbuild/cudafix0572
...
Fixed version of #8527
4 years ago
Patryk Obara
1db49240c6
docs: Provide working instructions for scan-build [skip ci]
...
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 .
4 years ago
Olexa Bilaniuk
2579420a72
Strip host-compiler -std flag from NVCC line.
...
Closes #8523 .
4 years ago
Olexa Bilaniuk
5941e94ff8
Retract "DQSQ" merging in NVCC arguments handling.
...
No coverage, no tests, unreadable, unused, likely premature
optimization.
4 years ago
Olexa Bilaniuk
3dbd493de2
Canonicalize and merge consecutive -Xcompiler flags together.
...
Makes command-line more readable.
4 years ago
Jussi Pakkanen
268a78f0f4
Added some wrap review docs. [skip ci]
4 years ago
Xavier Claessens
47633330da
pkgconfig: Allow setting prefix in dataonly pc file
...
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 .
4 years ago
Xavier Claessens
df4314c7b8
backends: Remove @PRIVATE_OUTDIR_(ABS)@ substitution
...
It is not documented and does not seems to be used anywhere.
4 years ago
Xavier Claessens
3fb9311d10
Remove ConfigureFile and ConfigureFileHolder
...
They are not used anywhere.
4 years ago
Dylan Baker
b1d85f3cde
modules/external_project: use typed_pos_args
4 years ago
Xavier Claessens
64775c0fd3
windows_proof_rmtree: Also retry os.chmod() part
...
It looks like when Windows media scanner holds files we can't change
their permission neither.
4 years ago
Diego Elio Pettenò
56c03e1517
docs: correct log upload paths.
...
SInce the build directory is `builddir/` it should be
`builddir/meson-logs/testlog.txt` to be uploaded.
4 years ago