Gabríel Arthúr Pétursson
fd653d070d
Make base options accessible via get_option()
7 years ago
Gabríel Arthúr Pétursson
39c7b0492c
Allow both address- and undefined behavior sanitizers at the same time
7 years ago
Laurent Carlier
0283a2fb41
pkgconfig: avoid appending slash at Cflags
...
otherwise it can break some compilations, see https://bugs.archlinux.org/task/54763
7 years ago
Hemmo Nieminen
3a59379ec1
Update args_frozen attribute check.
...
Attribute args_frozen doesn't exist anymore. Check against
project_args_frozen/global_args_frozen instead.
8 years ago
Jehan
2f691410fc
Improve "Passed invalid keyword argument" warning.
...
I got this warning on a build:
> WARNING: Passed invalid keyword argument preset. This will become a hard error in the future.
I had to grep in meson code to understand that "preset" was the name of
the invalid argument. This is not obvious at all depending on the
argument name (here it looked like it was about argument presets).
Let's make it clearer by putting it in quotes.
8 years ago
Jehan
d80787ae28
Output an appropriate warning when a cross info file does not exist.
...
If making a typo, it used to output:
> Cross info file must have either host or a target machine.
This was not useful at all and looked like there could be a file format
error or some other issue with the content. Let's have an appropriate
error:
> File not found: /some/path
8 years ago
Jussi Pakkanen
9c02e57f88
Qapla'
8 years ago
Jussi Pakkanen
ad3dc937f1
Fix remaining Interpreter object leaks.
8 years ago
Jussi Pakkanen
ecde592b86
Fix custom target sources
8 years ago
Jussi Pakkanen
c11a4cb952
Make Interpreter object unpicklable as it was being pickled by accident in copies of kwargs.
8 years ago
Elliott Sales de Andrade
241790f72d
Fix typo in generate_gir keyword name.
8 years ago
Goncalo Carvalho
bcb2556c69
add project/global args and include_dirs (useful for module maps) to swift targets
8 years ago
Bruce Richardson
f12ece4547
pkgconfig: add support for extra_cflags
...
Allow the user to pass in arbitrary cflags for putting into the generated
pkgconfig file.
8 years ago
Aaron Plattner
ba3871985a
add_{project,global}_link_arguments require a 'language' argument
...
Commit 325a231a
added stricter keyword argument checking, but didn't enable
keyword arguments for add_projects_link_arguments() and
add_global_link_arguments(). This makes them fail with this error:
Meson encountered an error in file meson.build, line 19, column 0:
Function does not take keyword arguments.
However, the language argument is required. Removing it produces this error
instead:
Meson encountered an error in file meson.build, line 19, column 0:
Missing language definition in add_project_link_arguments
Fix this by adding 'language' as a required keyword argument. Also add calls to
these in the "146 C and CPP link" test case.
8 years ago
Hemmo Nieminen
ea79e94964
Fix a missing path issue causing Python traceback.
...
A path was missing from a call to os.path.relpath when handling rpaths.
Fix this by assuming empty target directory means build root.
8 years ago
Philippe Payant
e4daad369a
Select release or debug libraries for Qt, based on buildtype.
8 years ago
Philippe Payant
85eddf4eb2
Library names for Qt4 was incorrect.
8 years ago
Wade Berrier
ad1b487285
dependency: boost: only consult environment at initial stage
...
... not when getting compiler and link arguments
Would be nice to have some tests, but that requires boost in a
non-standard location.
8 years ago
Guillaume Poirier-Morency
bbddf51a54
Use 'C sharp' instead of 'C#'
...
The '#' is reserved for Ninja comments and cannot be escaped.
8 years ago
Guillaume Poirier-Morency
5b58ff2783
compilers: Use 'get_display_language' for language-related exceptions
8 years ago
Jussi Pakkanen
3262be23dc
Fixed issues raised in review.
8 years ago
Nirbheek Chauhan
5dab5f1600
environment: Fix exception when no defines were found
...
Lists are not hashable.
Closes https://github.com/mesonbuild/meson/issues/1989
8 years ago
Guillaume Poirier-Morency
fab5634916
Add 'Compiler.get_display_language'
...
Use this when we print language-related information to the console and
via the Ninja backend.
8 years ago
Jussi Pakkanen
4a37baf3c5
Fixed the remaining modules.
8 years ago
Jussi Pakkanen
80d665e8de
Converted some modules.
8 years ago
Jussi Pakkanen
7f482824bb
Add kwarg checker in module code.
8 years ago
Jussi Pakkanen
50e75baa91
Removed in_builddir from public usage as it is an internal feature that was visible by accident.
8 years ago
Jussi Pakkanen
fe74c54079
Alphabetization.
8 years ago
Jussi Pakkanen
97b7a7b10e
Moved func_ methods from base class to Interpreter.
8 years ago
Jussi Pakkanen
325a231abe
Add a few more.
8 years ago
Jussi Pakkanen
f7da8dc84d
A few more.
8 years ago
Jussi Pakkanen
e08d735105
Added a few more kwarg checks to functions.
8 years ago
Jussi Pakkanen
0eb41a9a08
Checks for all build target functions.
8 years ago
Jussi Pakkanen
92493d4e5e
Added kwargs for executable().
8 years ago
Jussi Pakkanen
46e61971ce
Decorator to check for permitted kwargs.
8 years ago
Alistair Thomas
cca0fa8154
Recognise .gs extension as a Vala source
8 years ago
Jussi Pakkanen
506cc57cc8
Do not permit invalid and/or nodes to be declared. Closes #1886 .
8 years ago
Alistair Thomas
117f4ab8b5
Split out languages from compilers.py
8 years ago
Alistair Thomas
d71da5bdb3
Converted compilers.py to a sub-package
8 years ago
Alistair Thomas
e5559903b3
Split linkers out from compilers.py
8 years ago
Nirbheek Chauhan
185808bf16
vala: Only add --use-header for unity builds
...
Closes https://github.com/mesonbuild/meson/issues/1969
8 years ago
Jens Georg
ce3cec40da
Skip handling non-available dependencies
...
This way, an optional dependency can always be added on Vala targets without
meson adding --pkg
8 years ago
Elliott Sales de Andrade
70776cda98
Add build include directory to gtkdoc source paths.
...
This enables gtkdoc to produce documentation on files that were
generated, using configure_file, for example.
8 years ago
Adam C. Foltzer
6165612f6b
fix indentation per @ignatenkobrain
8 years ago
Elliott Sales de Andrade
ca798e1538
Add all internal dep rpaths to gnome module builds.
...
Running gtkdoc on a shared library that depends on another shared
library would fail otherwise.
8 years ago
Elliott Sales de Andrade
6bc14424b4
Use absolute path to target dir within gnome module.
...
Stuff like gtkdoc may not be run in the top-level build directory, so
these paths need to be absolute.
Fixes #1950 .
8 years ago
Jussi Pakkanen
797bca22a5
Bump version number for new development.
8 years ago
Jussi Pakkanen
defcea7fb5
Update version number for bugfix release.
8 years ago
Jussi Pakkanen
fa9fde5029
Storage object has changed so use values(). Closes #1963 .
8 years ago
Jussi Pakkanen
cccb932f8f
Expand magic markers on custom and run targets too. Closes #1681 .
8 years ago