Jussi Pakkanen
51aaa15bda
Update everything for release 0.49.0
6 years ago
Jussi Pakkanen
f7e657629f
Disable broken MMX code.
6 years ago
Jussi Pakkanen
03311e6d8c
Skip if a suitable D alternative is not found.
6 years ago
Jussi Pakkanen
f1116bc16a
Skip CMake dependency check if CMake is not installed.
6 years ago
Martin Storsjö
05e75ab3e7
Reinstate "compilers/c: Fix allow undefined link arg for PE/COFF"
...
This reinstates 2256e6314b
, which was
lost in refactoring in 9f9cfd2139
.
6 years ago
Jussi Pakkanen
d64f93800f
Do not write cp entry when it is empty. Closes #4602 .
6 years ago
Jussi Pakkanen
f881532559
Updated Linux CI image to cosmic.
6 years ago
Jussi Pakkanen
c6e022b560
Print ASCII version of unrepresentable text. Closes #4600 .
6 years ago
John Preston
ca2e378c98
Update VS files only if something changed.
...
If you change only some project in meson.build,
only that .vcxproj file will be updated and reloaded.
If you change something not related to VS solution and projects
or simply touch the meson.build file, nothing will be reloaded.
6 years ago
Jussi Pakkanen
95c620db67
Error out if kwargs dict contains a kwargs entry.
...
Yo dawg! We heard U don't like kwargs in kwargs, so we made it
impossible to put kwargs in your kwargs so now you can't kwargs with
your kwargs.
6 years ago
Jussi Pakkanen
c44a5a1aec
Deduplicate export-dynamic and pthread. Closes #4567 .
6 years ago
Philippe Normand
4db1b3a09f
modules/python: Do not override link_args with None largs
...
None is not iterable so it would trigger a TypeError later when link_args are
passed on to CompilerArgs.extend_direct().
6 years ago
Dylan Baker
46f3b8f753
docs: fix link to platform install quirks [skip ci]
...
Fixes #4571
6 years ago
Jon Turney
a2b0dd13a4
Don't blame absent cmake for all missing dependencies
6 years ago
Nirbheek Chauhan
0b3a607fd8
Correctly detect 32-bit arm userland on 64-bit arm
...
This is the same case as 32-bit x86 on x86_64.
Closes https://github.com/mesonbuild/meson/issues/4586
6 years ago
Nirbheek Chauhan
579b5bba12
Reorganize cpu detection code to be more consistent
...
Use a single point of exit for the detect_cpu* functions, and factor
out the compiler define code into a helper function.
6 years ago
Nirbheek Chauhan
b75ff762f8
Fix detection with VS 2017, and fix a bug in detection on VS 2008
...
Starting with VS 2017, `Platform` is not always set (f.ex., if you use
VsDevCmd.bat directly instead of vcvars*.bat), but `VSCMD_ARG_HOST_ARCH`
is always set, so try that first.
6 years ago
Nirbheek Chauhan
5f8aedfa8b
Fix typos in kwargdict snippet [skip ci]
6 years ago
Nirbheek Chauhan
55d79a6ba2
docs: Misc syntax fixes and missing links [skip ci]
6 years ago
Nirbheek Chauhan
c502ddfebf
docs: Document subproject(... required: false) [skip ci]
...
Somehow this was missed in the original PR #3885
6 years ago
Nirbheek Chauhan
febd3e8524
Document how to declare fallback-only dependencies [skip ci]
6 years ago
Jussi Pakkanen
58b838a80b
Can specify keyword arguments with a dict.
6 years ago
John Preston
c17a80f47b
Use correct environment for REGEN in VS backend.
...
Try to guess which VS Command Prompt was used for the Meson call.
If one is chosen invoke it before calling Meson in REGEN command.
6 years ago
Xavier Claessens
8612f1543f
pkgconfig: Improve and document generator behaviour
...
- Add libraries from InternalDependency.libraries
- Deprecate association of libraries from the "libraries" keyword
argument to the generated pkg-config file.
6 years ago
Xavier Claessens
377719cc7b
BuildTarget: Fix typo, self.install does not exists
6 years ago
John Ericson
2ba97d506d
Use more `environment.default_*` for consistency
...
After we make this work consistently, we can try to abstract the new pattern.
6 years ago
John Ericson
0fd548e16f
Combine `run_tests` import lines in `run_unittests`
6 years ago
Luca Boccassi
80ac40b7e7
pkgconfig: do not generated dependency on itself
...
If a project generates a single pc file but multiple shared libraries
with dependencies on each other, the generated pc name will be used to
generate a Requires.private dependency, which means the project will
depend on itself. This breaks at least some versions of pkg-config
(0.27 in RHEL7) which cannot handle the recursion and error out.
When adding the dependency using the pc name, check that it's not
on the project itself.
Fixes #4583
6 years ago
Jussi Pakkanen
7ffc26078d
Merge pull request #4389 from xclaesse/subprojects-cmd
...
Add 'meson subprojects update' command
6 years ago
Mohammed Sadiq
41a98d0fdd
coverage: Print summary after gcovr html generation
...
summary from stdout is often used by Automated builds to show build details
The --print-summary option was added to gcovr in v3.2, since html output
was added only in 3.1, limitting support to 3.2 won’t be a big deal.
--print-summary is not enabled for text/xml report generation as it will
result in meson not supporting any gcovr version less than 3.2.
6 years ago
Xavier Claessens
2efedf80e0
Add documentation for 'meson subprojects' command line
6 years ago
Xavier Claessens
0e7513e734
flake8: ignore W504: line break after binary operator
...
It wasn't an error before, and plenty of files does that.
6 years ago
Xavier Claessens
d655515a6b
Add 'meson subprojects download' command
6 years ago
Xavier Claessens
b5eac54c9e
Add 'meson subprojects checkout' command
6 years ago
Xavier Claessens
60b58e056f
Add 'meson subprojects update' command
...
This is inspired by gst-build's git-update script.
6 years ago
Jussi Pakkanen
d272f23dba
Merge pull request #4569 from lzutao/readme
...
Add link to built-in options page
6 years ago
lzutao
8b3939bde6
Fix the freenode link [skip ci]
6 years ago
Lzu Tao
4bd0243daf
Update sample output of meson configure [skip ci]
6 years ago
Lzu Tao
2a23dd8bb0
Add link to built-in options page [skip ci]
6 years ago
Laurent Pinchart
80bdc71c0e
syntax-highlighting: vim: Allow overriding shiftwidth and softtabstop
...
The vim syntax indentation rules stored in indent/meson.vim set the
local shiftwidth and softtabstop variables. As the file is loaded last,
after ~/.vim/after/ftplugin/meson.vim (when present), this prevents
overriding the default values for shiftwidth and softtabstop in a local
configuration.
Fix this by setting shiftwidth and softtabstop in ftplugin/meson.vim
instead (as done by the python indentiation rules in upstream vim for
instance) to allow local overrides.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6 years ago
lzutao
0c23e65457
Add meson version required to use option type ( #4562 ) [skip ci]
6 years ago
Jussi Pakkanen
b0611bdd9a
Merge pull request #3061 from jon-turney/introspect-custom-target-files
...
Fix 'meson introspect --target-files' for a custom target
6 years ago
Jon Turney
d502e83493
docs: Remove mention of appveyor from Contributing doc
...
Add mention of azure
Also fix anchor in travis URL
Also make 'see below' into a link
6 years ago
Jon Turney
37846eea30
appveyor: Remove vs2015 jobs
...
Remove vs2015 jobs, migrated to azure
6 years ago
Jussi Pakkanen
509afe752c
Use /O1 instead of /Os for MSVC as the latter is deprecated.
6 years ago
Christoph Reiter
7f9bd8d271
azure-pipelines: install cmake in msys2
...
Recent test changes depend on cmake being available.
6 years ago
Jon Turney
9d710503c4
azure: ignore PRs which should be skipped for ci
...
azure doesn't support [skip ci], so do nothing, rather than failing when
we detect a PR which should have [skip ci], but didn't get skipped.
6 years ago
Jussi Pakkanen
270f2395d6
Merge pull request #4191 from trilader/feature/projectinfo-from-source
...
mintro: Allow introspect --projectinfo without build directory
6 years ago
Jussi Pakkanen
2c91ca3d6a
Remove linkerlike args from compile checks. Closes #4542 .
6 years ago
Daniel Mensinger
22fca7589f
Fixed unit test (see #4549 )
6 years ago