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
Jussi Pakkanen
5c8328d27f
Use "meson test" in test invocations so it will not print the deprecation warning.
7 years ago
Jussi Pakkanen
55165ba504
Added documentation for pcap dependency.
7 years ago
Jussi Pakkanen
8c8e9230a5
Merge pull request #2130 from bruce-richardson/pcap_config_support
...
add support for pcap dependencies
7 years ago
Gabríel Arthúr Pétursson
0ad448f890
Pass -fpch-preprocess to GCC when precompiled headers are used
...
CCache requires this flag when building with precompiled headers.
Without it, the preprocessor fails and CCache fallbacks to running the
real compiler.
Users still need to set 'sloppiness' to 'pch_defines,time_macros' in
their ccache.conf file for CCache to cache builds that use precompiled
headers. See the CCache manual for more info:
https://ccache.samba.org/manual.html#_precompiled_headers
7 years ago
Nirbheek Chauhan
556966003e
gnome: Allow passing build_by_default: to some functions
...
Closes https://github.com/mesonbuild/meson/issues/2174
7 years ago
Tim-Philipp Müller
60b83a5f0a
gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc()
7 years ago
Nirbheek Chauhan
192d0dd0a7
unit tests: Select test cases inside run_unittests.py
...
This allows people to directly run ./run_unittests.py without having
to worry about selecting the right test cases for the platform they
are on.
7 years ago
Nirbheek Chauhan
7aed29e2c3
gnome: Fix parsing of resource custom target files
...
gnome.compile_resources() was not parsing custom target sources
properly. It was using the custom target name as the output of the
custom target instead of looking at the list of outputs.
Also modify the GNOME framework test to expose this.
7 years ago
Florian Müllner
691ad706ad
gnome: Only translate -l flags to --extra-library
...
Other linker arguments may contain '-l' as well, for instance
'-L/usr/lib/x86_64-linux-gnu/foo' with Debian-style multiarch.
7 years ago
Stefan Sonski
462813f8f1
Exclude system sources from test coverage
...
Exclude /usr/src/ from code coverage, this is included for e.g. gtest/gmock.
7 years ago
Nirbheek Chauhan
ca4778a500
Update wrap-mode FAQ
7 years ago
Bruce Richardson
0a6f848aa3
add unit test case for pcap dependency object
7 years ago
Bruce Richardson
c89b8c5c4b
add support for pcap dependencies
...
Libpcap has its own pcap-config tool rather than using pkg-config. Add
support for pcap-config, based on the existing implementation of
sdl2-config that is there already.
7 years ago
YmrDtnJu
0929812eb5
Do not ignore stderr on gcc type check in get_gnu_compiler_defines.
...
As stderr may contain information the user can use to solve the problem with
the gcc installation, it should not be ignore but added to the error message.
7 years ago
Paulo Antonio Alvarez
bc30ad6dba
environment: Read VALAC from the environment and use it if set
...
The valac binary was hard coded in meson. We now check if VALAC is
defined in the environment, and if it is, use its value as the vala
compiler, if not, we proceed with the hard coded binary name.
7 years ago
Nirbheek Chauhan
b663937f8c
Clarify what an "external dependency" is
...
And add a link to the Dependencies.md page.
7 years ago
Jussi Pakkanen
e44926e2b2
Renamed test dir to remove duplicatec number. Closes #2158 .
7 years ago
Jussi Pakkanen
d94e06db21
Merged singleexe branch.
7 years ago
Jussi Pakkanen
06f195e9ec
Merged exclude_dir branch.
7 years ago
Jussi Pakkanen
a19f906258
Merge branch 'QuLogic-mpi'
7 years ago