Jussi Pakkanen
348bd39083
Merge pull request #4764 from mensinda/introVersCheck
...
mintro: Check meson-info.json version instead of loading coredata
6 years ago
John Ericson
b53c982b58
Build class should not duplicate compiler state
...
Compilers should be held by coredata, so this is just here for
convenience.
6 years ago
Daniel Mensinger
96f354ebde
Load source dir from meson-info.json
6 years ago
Daniel Mensinger
243eca6cee
mintro: Check meson-info.json version instead of loading coredata
6 years ago
Marco Trevisan (Treviño)
95c1cdf776
interpreter: obey to the install argument in configure_file
...
If a configure_file has an install_dir set, the supported install
argument is ignored, while this should have actually higher priority
than the install_dir itself.
Also check that correct types are used for `install` and `install_dir`.
Add test to verify this.
Fixes #3983
6 years ago
Jussi Pakkanen
49557e15ec
Merge pull request #4731 from mensinda/introBreak2
...
mintro: Changes to the introspection API
6 years ago
Antoine Jacoutot
e02b79dc1e
OpenBSD: register machine cpu "macppc" as cpu_family "ppc"
...
On OpenBSD, the main PowerPC machine is known as macppc, while the processor
family is powerpc:
$ uname -{m,p}
macppc powerpc
$ echo 'import platform; print (platform.machine())' | python3
macppc
$ echo 'import platform; print (platform.processor())' | python3
powerpc
This allows for e.g. GLib configure to properly detect that cpu:
Build machine cpu family: ppc
Build machine cpu: macppc
While it failed before with: WARNING: Unknown CPU family 'macppc' <snip>
6 years ago
Jon Turney
680d266591
Fix a typo in an error message
6 years ago
Jussi Pakkanen
fa562d8100
Merge pull request #4744 from dcbaker/docs-cflags
...
Discourage the use of env variables like CFLAGS [skip ci]
6 years ago
John Ericson
8165fa6ad0
Fix finding the static linker for native compiler in cross build
...
Native ar and cross ar are not the same!
6 years ago
Alistair Thomas
b204a74917
rpm: Bring RPM module back in to a working state
6 years ago
John Ericson
913c87b327
`environment.cross_info.need_cross_compiler()` doesn't exist
...
It is no longer needed either.
6 years ago
Jussi Pakkanen
9223ffdc11
Merge pull request #4748 from astavale/running-meson-docs
...
docs: update 'Running Meson' page to show Meson's setup command [skip…
6 years ago
Jussi Pakkanen
e5b1cf5088
Merge pull request #4746 from mesonbuild/parisc64
...
Report parisc64 as parisc. Closes #4714 .
6 years ago
John Ericson
17a602a4ec
Remove spurious case in interpreter
...
`need_cross_compiler = is_cross_build()`, so the condition is always
false.
6 years ago
Phillip Cao
13fe2e40eb
Add get_werror_args for CCRX C compiler
6 years ago
Alistair Thomas
1b9e00f506
docs: update RunningMeson.md to show Meson's setup command [skip ci]
6 years ago
Ethan R
530aec0bbe
Added Rust to supported languages for project() ( #4750 ) [skip ci]
6 years ago
Alistair Thomas
fb05733983
docs: Change sub-headings in Running-Meson.md from == to ## [skip ci]
6 years ago
Alistair Thomas
55e6d3c35e
docs: Re-wrap Running-Meson.md from 70 to 80 columns [skip ci]
6 years ago
Alex Băluț
8f24d34e31
Fix links to reference manual
6 years ago
Jussi Pakkanen
198de0de5d
Report parisc64 as parisc. Closes #4714 .
6 years ago
Dylan Baker
724c97ef4e
docs: recommend add_project_arguments instead of add_global_arguments [skip ci]
...
As autotools doesn't have anything like wraps so it doesn't need to
differentiate, but meson does so it should.
6 years ago
Dylan Baker
bc0bcc37f6
docs: don't recommend using CFLAGS [skip ci]
6 years ago
Dylan Baker
4a8e8b7103
docs: further specify that CFLAGS and friends are only for distro packagers [skip ci]
6 years ago
Dylan Baker
c1b01d54c2
docs: Add link args to the table of language args [skip ci]
6 years ago
Dylan Baker
1404f404f8
docs: document that using environment variables is discouraged [skip ci]
6 years ago
Daniel Mensinger
5c139032b8
Deprecated --target-files API
6 years ago
Daniel Mensinger
29dd57dcbf
Fixed flake8
6 years ago
Daniel Mensinger
1c92b7d225
Added release snippet
6 years ago
Daniel Mensinger
e67ba0fd64
Also made buildsystem files absolute
6 years ago
Daniel Mensinger
a1d8c1d3e9
Changed introspection target format
6 years ago
Jussi Pakkanen
3bf2ca483e
Merge pull request #4732 from mensinda/introMesonInfo2
...
mintro: Added `meson-info.json` introspection information about the latest meson run
6 years ago
Jussi Pakkanen
d085002d18
Calculate target paths correctly when workdir is set.
6 years ago
Robert Bragg
f2223fcf54
ninjabackend: Adding missing shell quotes for compiler arguments
...
Since trying to cross compile for Windows from Linux (WSL) and having
paths like this:
'-L/mnt/c/Program Files (x86)/Microsoft Visual Studio/2017/\
Community/VC/Tools/MSVC/14.15.26726/lib/x64'
I found that the spaces and brackets in the paths weren't properly
escaped by the Ninja backend.
6 years ago
Dylan Baker
6c76b92dff
docs: document the native keyword argument for reference-manule [skip ci]
6 years ago
Martin Hostettler
768fa502ac
Add new meson.py unstable-coredata subcommand.
...
This adds a hidden option to dump the current otherwise hidden peristant
state in coredata.dat.
This interface is unstable as meson has no compatibility promises about
coredata.dat.
6 years ago
Olivier Crête
7993747e13
Save surrogates as-is in log files
...
When python sees an invalid character in a filename for the current locale,
instead of clobbering it, it saves is as an invalid codepoint called a
surrogate. We need to explicitly instruct the encoder to write those out
as-is. In the JSON file, we replace them instead to produce valid json.
6 years ago
Nicolas Schneider
3232f780d8
use same code for printing options in mconf and msetup
...
Also, options are now responsible for providing a suitable printable
representation of their value instead of handling this at the caller.
6 years ago
Daniel Mensinger
b82cbbdd4c
Fixed missing newline
6 years ago
Daniel Mensinger
7ec609425a
Added release snippet
6 years ago
Daniel Mensinger
ab32f1fe00
Added meson-info.json
6 years ago
Daniel Mensinger
38241f5fce
Introspection refactoring
6 years ago
FlyingPiMonster
f658107a0e
docs: An error in an external link has been fixed [skip ci]
6 years ago
Jussi Pakkanen
a34ac74cf9
Merge pull request #4547 from mensinda/introIncDirs
...
mintro: Save introspection to disk and --targets modifications
6 years ago
Nicolas Schneider
735e138382
fix meson configure exception when install_umask is not an int
6 years ago
Michael Hirsch, Ph.D
142cf1459f
modernize library default syntax, be like CMake static default
6 years ago
Xavier Claessens
aa840afb3a
Always flatten include_directories lists
6 years ago
Daniel Mensinger
52071c6d4e
Fixed missing dots [skip ci]
6 years ago
Daniel Mensinger
0b0ec5895c
Fixed typo [skip ci]
6 years ago