Thibault Saunier
62165aef43
options: s/yiel/yield/ typo
...
Making the option unusable with Invalid kwargs for option use_orc: "yield"
7 years ago
Jussi Pakkanen
657836b555
Merge pull request #3223 from sarum9in/rename
...
Add install_data() rename parameter
7 years ago
Aleksey Filippov
5f81d36207
Add install_data() rename snippet
7 years ago
Aleksey Filippov
d63fff06d9
Add install_data() rename documentation
7 years ago
Nirbheek Chauhan
d012b5b997
Create a helper for checking if a string has a path component
...
This is used in a number of places, and in some places it is incomplete.
Use a helper to ensure it's used properly.
7 years ago
Jussi Pakkanen
e984e1072b
Merge pull request #3251 from mesonbuild/fixpkgconfigdeps
...
Fix pkg-config dependencies leaking out (debbug 892956)
7 years ago
David Seifert
7eb187c5f2
Add -Wl,-dead_strip_dylibs support
...
* `-Wl,-dead_strip_dylibs` is the analogue
of `-Wl,--as-needed` on macOS.
7 years ago
Jussi Pakkanen
cf5f1a83d5
Fix existing tests.
7 years ago
Felipe Corrêa da Silva Sanches
50c66f1f5c
fixing some typos on the icestorm page
7 years ago
Thibault Saunier
f48da481ab
introspect: tests: Inform about tests run parallelization
7 years ago
Martin Hostettler
b89309df64
Project-templates.md: Fix help command name [skip ci]
7 years ago
Aleksey Filippov
158dc249ca
Replaced appveyor account by mesonbuild
7 years ago
Aleksey Filippov
6994ec56e6
Add install_data() failing rename test
7 years ago
Aleksey Filippov
143dc3ca44
Add install_data() succeeding rename tests
7 years ago
Aleksey Filippov
f720efa2f4
Add rename parameter to install_data()
7 years ago
Aleksey Filippov
22b19995b1
Fix appveyor failures: do not use PowerShell since it triggers NativeCommandError if pacman prints to stderr
...
Split command to avoid "The input line is too long." error.
Also use --needed for pacman to not reinstall already installed packages.
7 years ago
Jussi Pakkanen
c385f79737
Do not leak out private dependencies for shared libraries.
7 years ago
Jussi Pakkanen
d532650b0d
Add test for pkgconfig generation and usage.
...
This builds a project with pkg-config file, installs it and then
builds a second project that uses that dependency and runs the result.
7 years ago
Aleksey Filippov
7f042b5fe2
Use target.get_id() instead of basename and type_suffix concatenation at call site
...
Fixes the bug with flat layout and identical target names in subprojects.
Without this change directories are not created with subproject prefix
and they can collide.
Remove dead makedirs code in Backend.__init__(), during initialization
of backend build.targets is empty. Create output directories in
Vs2010Backend.generate_projects() instead.
Also use double blank line in run_unittests.py according to
https://www.python.org/dev/peps/pep-0008/#blank-lines .
7 years ago
Fabrice Fontaine
2e128f71bb
Fix FileNotFoundError when restorecon unavailable
...
Fixes:
- http://autobuild.buildroot.net/results/d5dcdfdfab3503fdc387f99e68267972a38c417d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
7 years ago
Jussi Pakkanen
24ae120868
Turn deprecated commands into errors.
7 years ago
Jussi Pakkanen
9ecb75670f
Merge pull request #3127 from bluetech/method-permitted-kwargs
7 years ago
Jussi Pakkanen
ae0e469b06
Merge pull request #3145 from thejk/gcovr
...
Support gcovr >= 3.1 and add gcovr html report as fallback
7 years ago
Aleksey Filippov
552916d2d2
pkgconfig: allow any non-found dependency requires arguments
...
On some platforms such as OSX external dependency falls back
to different dependency types if it is not found.
7 years ago
Aleksey Filippov
6e83e41af7
pkgconfig: print requires argument type on error
7 years ago
Joel Klinghed
dfc0655bcd
fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1
...
Fix fail cases of detect_gcovr
7 years ago
Jussi Pakkanen
a20c5ccd13
Fix snippet heading to conform to new formatting rules.
7 years ago
Joel Klinghed
4e1b229b37
fixup! Allow gcovr >= 3.1 to be used to generate html coverage report
...
Rename gcovr_3_1 to gcovr_new_rootdir
7 years ago
Joel Klinghed
ed8197207e
fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1
...
Rename gcovr_3_1 to gcovr_new_rootdir
7 years ago
Jussi Pakkanen
8d8caef636
Merge pull request #3205 from sarum9in/use-itertools
7 years ago
Jukka Laurila
1d0169f4e7
Fix shared library building on xcode.
7 years ago
Aleksey Filippov
fe215bb826
Use os.path.dirname() instead of os.path.split(...)[0]
7 years ago
Jussi Pakkanen
6585427a7d
Merge pull request #3131 from sarum9in/pkgconfig
...
Pkgconfig accepts libraries and pkgconfig-dependencies in requires/requires_private parameters
7 years ago
Nirbheek Chauhan
28b19c78d6
PkgConfigDependency: Search for pkg-config with ExternalProgram
...
Strawberry Perl on Windows ships with a Perl implementation of
pkg-config embedded inside a BAT file. True horror of horrors, but
people do use it, so search for pkg-config with ExternalProgram which
has the right Windows-specific cases to deal with that.
Closes https://github.com/mesonbuild/meson/issues/3221
7 years ago
Jon Turney
7bf29b8efd
Fix typo preventing soname unit tests from running
...
Fix a typo in ac256cb6
preventing soname unit tests from running
7 years ago
Aleksey Filippov
98fc7a82dc
Link "External commands" page from run_command() reference [skip ci]
7 years ago
Aleksey Filippov
3493a372e2
Use specific exception types instead of Exception
7 years ago
Aleksey Filippov
093bdcafc9
Use subprocess.check_output() instead of Popen().communicate()
7 years ago
Aleksey Filippov
e4faf396e6
Do not use bare except [flake8]
...
Use more specific exception types where appropriate.
This patch does not change bare except calls if exception is re-raised.
7 years ago
Aleksey Filippov
d977b78f1b
Use itertools.chain() instead of list concatenation
7 years ago
Jon Turney
6f8e541f55
docs: update for mesonintrospect.py -> meson introspect
...
mesonintrospect is deprecated since 59a35c4c
(PR #2067 )
7 years ago
Jon Turney
e79454c2a4
docs: Add custom dependencies missing documentation
...
Add some brief documnentation about custom dependency lookups which are
implemented but not documented.
7 years ago
Jon Turney
e6d6b609cc
docs: polish documentation for custom dependency detectors
...
Various grammar fixes
Fix syntax of MPI examples
Add Qt4
7 years ago
Jon Turney
64bc2b84f8
docs: update system cross file documentation
...
Works on all non-Windows since cf98f5e3
(PR #3119 )
7 years ago
Jon Turney
fa0386d98a
docs: remove reference to mesongui
...
mesongui was removed in 71f18226
(PR #574 )
7 years ago
Jussi Pakkanen
407b6dfc29
Merge pull request #3203 from jukkalaurila/bug3185
...
Fix bug 3185, "Setting -Dc_args=... option and some others during initial run fails silently'
7 years ago
Jon Turney
8ca2cf03a5
Show info about possible subproject promotion when appropriate
...
Move call to print_nested_info down into do_subproject()
So we don't print info about possible subproject promotion unless subproject
failure is due to directory non-existence
And we do do that for subproject('foo'), as well as for dependency(fallback:
['foo', ...])
7 years ago
Niklas Claesson
e4ec7989e8
Add LANG to Dockerfile
7 years ago
Niklas Claesson
7074bcb88a
Exclude subprojects when doing coverage
7 years ago
Jukka Laurila
52c50da6c7
Refactor: Add log.error and log.exception to reduce code duplication.
7 years ago