Dylan Baker
d42cd735a4
arglist: Fix remaining mypy errors and warnings
...
So we can lint it with mypy
5 years ago
Dylan Baker
4f6bd29ac9
arglist: Split the C/C++ specifics parts into a subclass for CLike
...
This means that we don't need work arounds for D-like compilers, as the
special c-like hanlding wont be used for D compilers.
5 years ago
Dylan Baker
93c3ec7e2d
compilers: Return CompilerArgs from compiler instance
...
Since the CompileArgs class already needs to know about the compiler,
and we really need at least per-lanaguage if not per-compiler
CompilerArgs classes, let's get the CompilerArgs instance from the
compiler using a method.
5 years ago
Dylan Baker
9d0ad66c29
compilers: Split CompilerArgs into a separate module
...
I've also moved this out of the compilers pacakge because we're soon
going to need it in linkers, and that creates some serious spagetti
5 years ago
Dylan Baker
386721f7fd
compilers: Add missing annotations to CompilerArgs class
5 years ago
Dylan Baker
b887212bee
compilers: Use enum for for deupdlication returns in CompilerArgs
5 years ago
Igor Raits
d6c6b933c4
mcompile: Add --verbose mode
...
Closes: https://github.com/mesonbuild/meson/issues/7352
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
5 years ago
Xavier Claessens
e353b2e8d4
wrap: Add patch_directory support
...
Copy a tree instead of extracting an archive.
Closes : #7216
5 years ago
Tim-Philipp Müller
246e5437aa
compiler: add 'force_align_arg_pointer' function attribute
5 years ago
Jussi Pakkanen
da018da753
Merge pull request #7359 from dcbaker/submit/2020-06/sh4
...
Add SuperH SH-4 support
5 years ago
Michael Brockus
9168032403
Update Style-guide.md [skip ci]
5 years ago
Michael Brockus
3f1108c923
Update Creating-releases.md [skip ci]
5 years ago
Michael Brockus
52a36a5521
update meson init info message. [skip ci]
5 years ago
Dylan Baker
b384f82b9a
envconfig: Add support SuperH SH-4
...
Fixes : #7358
5 years ago
Dylan Baker
348b0ef671
docs: Alphabetically sort the cpu_family reference table
...
It's close, but not quite. This should make it easier to read
5 years ago
Cyril Richard
189d3b0513
Update Users.md [skip ci]
...
Update Users.md with the add of Siril (www.siril.org) that is migrating from autotools to meson.
5 years ago
Jussi Pakkanen
1309b06183
Merge pull request #7196 from cconverse711/llvm-cov
...
coverage: llvm-cov support
5 years ago
TheQwertiest
96609da8d2
docs: replaced `ninja` with appropriate `meson` commands [skip ci]
5 years ago
Xavier Claessens
e191cbf6e9
mconf: Fix regression when printing all options
...
This is a regression introduced by #5489
5 years ago
Cary Converse
8620ca2066
disable coverage tests on msys2
5 years ago
Cary Converse
f3e2e4c63e
add missing gcovr dependencies for msys2 ci
5 years ago
Cary Converse
5bb7f743fd
add missing gcovr dependencies for cygwin ci
5 years ago
Cary Converse
a198e5d191
coverage: llvm-cov support
5 years ago
Nirbheek Chauhan
804cefc94c
ci: Remove PostgreSQL from PATH
...
It's one of the causes of the cmake test failures, and it's also
plaguing the VS2019 jobs now because of the image update.
5 years ago
Michael
f7b7514014
update Project-templates.md
5 years ago
Xavier Claessens
07d2331d23
interpreter: Allow dependecy or subproject name in force_fallback_for
5 years ago
Xavier Claessens
972cac13f4
doc: Fix missing --force-fallback-for documentation
5 years ago
Xavier Claessens
4180f04433
interpreter: Avoid new feature warning when using old has_exe_wrapper()
5 years ago
Mathieu Duponchelle
20709af4d2
interpreter: add support for --force-fallback-for
...
This new command line option allows specifying dependencies for
which to force fallback.
See the documentation for more information
Fixes : #7218
5 years ago
Xavier Claessens
f40e1567f5
Update mesonbuild/modules/gnome.py
...
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
5 years ago
Xavier Claessens
2ebda584ad
Update mesonbuild/modules/gnome.py
...
Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
5 years ago
Xavier Claessens
0b4cf5a844
gnome: Add fatal_warnings kwarg to generate_gir()
...
Fixes : #7130
5 years ago
Igor Raits
0a61f511aa
macros.meson: Switch to meson compile / install
...
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
5 years ago
Igor Raits
c4761afa63
macros.meson: Switch to %{_smp_build_ncpus}
...
It is available since RPM 4.15 which has been around 1 year by now.
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
5 years ago
Michael Hirsch
6f2eb6233c
pep8: add missing import, remove unused variable
5 years ago
Michael Hirsch
1ec84c570f
run_*tests*.py: print Meson version at start of test suite
...
on some systems, tests may take over an hour to run--only to find
you might have used an unintended Meson version (e.g. release instead
of dev). This change prints the Meson version at the start of the
run_*tests*.py scripts.
Also, raise SystemExit(main()) is preferred in general over
sys.exit(main())
5 years ago
laolux
0a583ac06a
Documentation, FAQ.md, generated_headers [skip ci]
5 years ago
Michael Hirsch
0b9e8e39dd
environment: fallback regex for versions like 2020.01
...
add four-digit version unit_test cases
5 years ago
Michael Hirsch
4ba06fb4dd
test:fortran7: default static so Intel/VS-based compilers pass
...
we did the same thing earlier with other Fortran tests for the same
reason.
5 years ago
Vili Väinölä
8905a637be
Add exception handling to be also written to the VS project xml
...
When changing meson option cpp_eh, it was passed to cl with AdditionalOptions and resulted in unsuppressable warning "cl : command line warning D9025: overriding '/EHs' with '/EHa'"
5 years ago
TheQwertiest
399303b534
Added docs for all meson commands + corresponding unit test ( #7217 )
5 years ago
Daniel Mensinger
a44dc67cb7
ci: Use test.json to skip VS2017 azure tests
...
See also #7307 #7314 #7316
cc @nirbheek
5 years ago
Nirbheek Chauhan
eab0e5a8b3
windows: Canonicalize `:` in filenames
...
Fixes https://github.com/mesonbuild/meson/issues/7265
5 years ago
Michael Hirsch
e2379148a6
fortran generated test: add code to reveal issue
...
used with Issue #7265
5 years ago
Vili Väinölä
977dc4d19f
Use cmake args also when calling get_cmake_info
...
- vcpkg libraries are not found when given cmake_toolchain_file and vcpkg_target_triplet as cmake_args when looking for the dependency if the first call to cmake has different arguments. The libraries are found if the first call has same arguments or if the CMakeCache.txt is deleted in call_with_fake_build.
5 years ago
Nirbheek Chauhan
e121942fcd
Disable failing cmake jobs on VS2017
...
These only fail when building with msvc/clang-cl on the VS2017-Win2016
image. See: https://github.com/mesonbuild/meson/issues/7307
5 years ago
Daniel Mensinger
6c56478ee1
cmake: fix definitions with interface libraries ( fixes #7299 )
5 years ago
Jon Turney
3babaaaeec
Tweak gnome.gtkdoc() documentation for clarity and grammar
5 years ago
Jon Turney
9f0e75bb40
Also adjust PATH in gtkdochelper for Cygwin
...
Also do Windows loader specific PATH adjustment (to emulate rpath) in
gtkdochelper for Cygwin.
5 years ago
Jon Turney
b91355a29b
Include the dep itself in extra_paths for Windows
...
This is needed in the case where a custom_target directly depends on a
shared library, and somehow loads it.
(Specifically this can be the case with gtkdoc, when it invokes
gtkdoc-scangobj, which will build and run it's own code to load a shared
library, to introspect it)
5 years ago