Jussi Pakkanen
511a370856
Merge pull request #2163 from chetgurevitch/master
...
Don't error if build directory is already configured and update instructions
7 years ago
Michał Wikliński
e02e88b9fa
Add missing dependency of Boost Log to a Docker image
7 years ago
Michał Wikliński
9154a6473b
Find Boost dep when there is an extra lib to link
...
There are several components in Boost which must be linked with extra
libraries. Boost Log is one of them and in special circumstances needs
linking with boost_log_setup.
http://www.boost.org/doc/libs/1_64_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup
This fix covers the case when there is no source file corresponding to
the additional library.
7 years ago
Gabríel Arthúr Pétursson
24ff7da0d2
Remove leftover debug print statement in meson_install.py
7 years ago
Jussi Pakkanen
2d575757d6
Put some keyword arguments into alphabetical order to improve readability.
7 years ago
Jussi Pakkanen
a1326581a5
Fix coverage target breakage and add a test for it.
7 years ago
Jussi Pakkanen
e02f1dc809
Remove PHONY because Windows and OSX file systems are crap. Closes #2199 .
7 years ago
David Seifert
ece243d9ab
Add warning about `sources` in declare_dependency
7 years ago
TingPing
8a636052bd
docs: Clarify project() no longer requires a language
7 years ago
Emmanuele Bassi
0545228fdd
Re-use gettext.read_linguas in yelphelper
7 years ago
Mohammed Sadiq
747c3af52c
docs: fix typo
7 years ago
Emmanuele Bassi
06fdabb7ac
Support LINGUAS for gnome.yelp() languages
...
Listing all languages inside meson.build for the Yelp-based manual
localisation is error-prone, and it also requires parsing and modifying
Meson files from external tools.
Just like we do for i18n, we can use an ancillary `LINGUAS` file in the
help source sub-directory to list all the help languages.
7 years ago
Peter Harris
ee34f454ca
Fix detection of clang "optimization arguments"
...
In version 3.6.0, clang added -Wignored-optimization-argument. Without
setting this flag to -Werror, "ignored optimization arguments" such as
(for example) -fpeel-loops, are accepted but warned about, leading to
noisy builds if meson thinks the flag is supported.
See also #755
7 years ago
Jon Turney
9607abbe0d
Fix warning when executable(implib:) is used
...
PR #1955 added implib to known_exe_kwargs, but since PR #2001 it needs to be
in exe_kwargs as well, to avoid 'WARNING: Passed invalid keyword argument
"implib"' when it is used.
7 years ago
Jussi Pakkanen
c2a5ac3981
Ensure log file gets closed.
7 years ago
Jussi Pakkanen
50fb7d37ab
Make all functionality invokable via the main Meson binary,
...
which can be a Windows .exe file.
7 years ago
Chet Gurevitch
2da2c92698
Tell users about ninja rebuild and meson configure
7 years ago
Chet Gurevitch
0ec2e530e1
Don't error if build directory is already configured
7 years ago
Guillaume Poirier-Morency
987e5b743c
python3: Fix tests on Windows as it uses 'Lib' and 'Include'
7 years ago
Guillaume Poirier-Morency
2653000ac7
python3: Add tests for platform-dependant paths and cover include path
7 years ago
Jussi Pakkanen
62aabb5a8b
Missing version info added.
7 years ago
Jussi Pakkanen
e76ed84677
Documented the merge_from method.
7 years ago
Nirbheek Chauhan
e2cf999ad4
Users.md: link to the Meson Porting GNOME goal
7 years ago
Florian Zwoch
3fda1ba3ed
docs: fix generator code sample
7 years ago
Jussi Pakkanen
aa49c3cebd
Ignore encoding when scanning Fortran sources.
7 years ago
Guillaume Poirier-Morency
92e2e1e2d8
python3: Fix 'sysconfig_path' for platform-dependant paths
...
Include 'platbase' for stripping the prefix for 'platlib' and 'platinclude'.
This is necessary for installing platform-dependant Python modules such as GI overrides.
7 years ago
Konstantin Mochalov
6bf65d8763
Documentation: fix broken link (now in docs)
...
Was [external link on github wiki](https://github.com/mesonbuild/wrapweb/wiki ), now markdown file in docs
7 years ago
Elliott Sales de Andrade
cf1242655f
Remove VS implementation of object name resolver.
...
The upstream one should work properly now, one hopes.
7 years ago
Elliott Sales de Andrade
320862991a
Fix object extraction in unity builds.
7 years ago
Elliott Sales de Andrade
bf0164ff6e
Use full relative paths to generate object names.
...
This prevents files with the same name from different directories from
producing object files with the same name and breaking ninja.
Fixes #1494 .
7 years ago
Elliott Sales de Andrade
b68cb3c713
Use object_filename_from_source when creating objects.
...
This will ensure a consistent path between generated object names and
names expected of extracted objects.
7 years ago
Elliott Sales de Andrade
879770ccf0
Only calculate absolute source path when necessary.
7 years ago
Elliott Sales de Andrade
ba6fdb996a
Simplify path-determination in compile-generation.
7 years ago
Elliott Sales de Andrade
c09586462c
Add variables to test to prove linkage is correct.
7 years ago
Elliott Sales de Andrade
48580ac8a3
Add broken test case from #1494 .
...
Also, check a file with a subdirectory and extract_objects().
7 years ago
Jussi Pakkanen
30bb55df3d
Missing dots are fun.
7 years ago
Jussi Pakkanen
244ef43651
Bumped version number for new development.
7 years ago
Jussi Pakkanen
a629642f1e
Bump numbers for new release.
7 years ago
Jussi Pakkanen
33c2bbc6e8
Merge pull request #2191 from centricular/fix-ninja-clean-target-dir
...
Fix ninja clean in some edge cases + a bonus windows fix
7 years ago
Nirbheek Chauhan
e191488cdf
tests/common/159: Disable phony test
...
Breaks on case-insensitive HFS+ on Travis
https://travis-ci.org/mesonbuild/meson/jobs/264468097
And on Appveyor:
https://ci.appveyor.com/project/jpakkane/meson/build/3344/job/k996o8g57qf68ryb
7 years ago
Nirbheek Chauhan
306cac70a6
tests/common/159: Disable b_coverage=true
...
Setting it seems to cause it to be set on all later tests, which causes
a lot of failures:
https://travis-ci.org/mesonbuild/meson/jobs/264468097
https://travis-ci.org/mesonbuild/meson/jobs/264468093
7 years ago
Nirbheek Chauhan
5764a26a4c
gfortran: Add coverage arguments
7 years ago
Nirbheek Chauhan
7d36776307
ninja: Fix detection of vs compiler usage
...
Just because cl.exe exists in PATH doesn't mean we are using it right
now. Instead, check the list of compilers that were configured.
7 years ago
Nirbheek Chauhan
be4428005d
ninja: Fix cleaning in various edge cases
...
We need to use target aliases for reserved target names and run
targets to workaround a ninja bug:
https://github.com/ninja-build/ninja/issues/828
Closes https://github.com/mesonbuild/meson/issues/1644
7 years ago
Jussi Pakkanen
4a766147fb
Printing unknown kwarg error message no longer crashes the parser.
7 years ago
Nirbheek Chauhan
0c518a8077
Add a test for dirs with reserved target names
...
And for dirs with the same name as run_target()s
Reproduces https://github.com/mesonbuild/meson/issues/1644
7 years ago
Nirbheek Chauhan
cae5caa7f1
run_unittests: Add a helper for asserting path existence
...
It is useful to have a message displayed if the assert is fired.
7 years ago
Marinus Schraal
c8e61f112d
gnome: use VAPIGEN from the environment if set
...
Allow setting the vapigen binary by passing it as an environment
variable.
7 years ago
Tim-Philipp Müller
4e476c82f3
gnome: add mkenums_simple()
...
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.
Features:
- optional function declaration decorator such as GLIB_AVAILABLE
- optional extra header prefix (e.g. for include needed for decorator)
- optional extra body prefix (e.g. for additional includes)
- optional function name prefix (e.g. to add leading underscores)
Fixes issue #1384
7 years ago
Jussi Pakkanen
c69a4aee1e
Store current line number so it can be printed in warning messages. Closes #2181 .
7 years ago