Goncalo Carvalho
bcb2556c69
add project/global args and include_dirs (useful for module maps) to swift targets
7 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.
7 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.
7 years ago
Hemmo Nieminen
1d7c7a7ea6
Add a test case for a "library at project root" use case.
7 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.
7 years ago
Alistair Thomas
7ab774dee5
Add mesonbuild.compilers to packages in setup.py
7 years ago
Jussi Pakkanen
dfb0414d9c
Merged Genie support.
7 years ago
Philippe Payant
e4daad369a
Select release or debug libraries for Qt, based on buildtype.
7 years ago
Philippe Payant
85eddf4eb2
Library names for Qt4 was incorrect.
7 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.
7 years ago
Jussi Pakkanen
4a4322064e
Merge pull request #1986 from phako/master
...
Skip handling non-available dependencies
7 years ago
Jussi Pakkanen
e630d899da
Merge pull request #2004 from valum-framework/add-display-language
...
More usages of 'get_display_language' and a fix for C#
7 years ago
Jussi Pakkanen
80ebc916f7
Merge pull request #2001 from mesonbuild/kwcheck
...
Decorator to check for unknown keyword arguments
7 years ago
Jussi Pakkanen
ee8fcd5f67
Merge pull request #1997 from mesonbuild/fixconditional
...
Fix conditional continuation bug
7 years ago
Guillaume Poirier-Morency
bbddf51a54
Use 'C sharp' instead of 'C#'
...
The '#' is reserved for Ninja comments and cannot be escaped.
7 years ago
Guillaume Poirier-Morency
5b58ff2783
compilers: Use 'get_display_language' for language-related exceptions
7 years ago
Jussi Pakkanen
3262be23dc
Fixed issues raised in review.
7 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
7 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.
7 years ago
Jussi Pakkanen
3dca1c99a6
Updated release notes.
7 years ago
Jussi Pakkanen
4a37baf3c5
Fixed the remaining modules.
7 years ago
Jussi Pakkanen
80d665e8de
Converted some modules.
7 years ago
Jussi Pakkanen
7f482824bb
Add kwarg checker in module code.
7 years ago
Jussi Pakkanen
50e75baa91
Removed in_builddir from public usage as it is an internal feature that was visible by accident.
7 years ago
Jussi Pakkanen
fe74c54079
Alphabetization.
7 years ago
Jussi Pakkanen
97b7a7b10e
Moved func_ methods from base class to Interpreter.
7 years ago
Jussi Pakkanen
325a231abe
Add a few more.
7 years ago
Jussi Pakkanen
f7da8dc84d
A few more.
7 years ago
Jussi Pakkanen
e08d735105
Added a few more kwarg checks to functions.
7 years ago
Jussi Pakkanen
0eb41a9a08
Checks for all build target functions.
7 years ago
Jussi Pakkanen
92493d4e5e
Added kwargs for executable().
7 years ago
Jussi Pakkanen
46e61971ce
Decorator to check for permitted kwargs.
7 years ago
Alistair Thomas
efef8f4f38
Add Genie to release notes
7 years ago
Alistair Thomas
2980ccb05e
Add test for Genie with multiple and mixed sources
7 years ago
Alistair Thomas
41702ab398
Add test case for compiling a Genie file
7 years ago
Alistair Thomas
cca0fa8154
Recognise .gs extension as a Vala source
7 years ago
Nirbheek Chauhan
03ba7cd843
Add a test for ignoring not-found vala deps
...
https://github.com/mesonbuild/meson/pull/1986
7 years ago
Jussi Pakkanen
ce9cd33f27
Merge pull request #1853 from astavale/split-compilers-file
...
Split compilers file
7 years ago
Jussi Pakkanen
506cc57cc8
Do not permit invalid and/or nodes to be declared. Closes #1886 .
7 years ago
Tim Hutt
8d8c920a51
Make the 'silent or' test case not fail when it should
...
Previously it would have failed in two different ways depending on whether the parser bug was fixed. Now it will only fail if the parser bug is fixed.
7 years ago
Tim Hutt
057f7e4aae
Add test case for or on a new line silently being ignored
...
Issue #1886
7 years ago
Alistair Thomas
117f4ab8b5
Split out languages from compilers.py
8 years ago
philtherobot
1821598fbb
Improve the example by explaining modules ( #1981 )
...
* Improve the example by explaining modules
* Refer to Qt documentation for its list of modules
* Add a sweet link to Qt's doc.
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
Jussi Pakkanen
080307dd71
Merge pull request #1948 from mesonbuild/tingping/gnome-sanitize-fixes
...
Fix gnome.generate_gir() with address sanitizer
8 years ago
Jussi Pakkanen
65d5ec5f18
Merge pull request #1922 from acfoltzer/rust-improvements
...
Enhance Rust support
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
Elliott Sales de Andrade
a681348b05
Add some colour to test output.
...
Bold the section names and colourize errors&skips.
8 years ago
Patrick Griffis
39c75d39fb
docs: Fix version reference
8 years ago