Jon Turney
fa415c54a0
Update prefix-dependent defaults when project(default_options:) changes prefix
...
Fixes #2811
7 years ago
Jon Turney
3e09ea1036
Add a test of prefix-dependent defaults for project(default_options:)
...
See #2811
7 years ago
Nirbheek Chauhan
6d44030a33
unit tests: Test that relative install_rpath works correctly
...
We weren't testing this with C++, so the breakage was missed.
https://github.com/mesonbuild/meson/issues/2814
7 years ago
Benjamin Redelings
948faa8202
Add whitespace around '+'.
7 years ago
Benjamin Redelings
b1a0422b76
Fix linking with clang++ on linux if install_rpath.
7 years ago
Niklas Claesson
c1b0bd3fc0
Add failing boost test
7 years ago
Niklas Claesson
2f690e4834
boost: Allow older behavior with a warning
...
Fixes #2813
7 years ago
Andrei Alexeyev
ec1ed1e99b
fix AttributeError in CustomTargetIndex.__repr__
7 years ago
Passw
5c0cbf7b32
add one more blank line at the tail of Disabler.md
...
From http://mesonbuild.com/Manual.html , it seems that `Disabler.md` messes up `Modules.md`
7 years ago
Dylan Baker
66292bca0a
dependencies: Also strip git version from llvm version
...
If LLVM is built from a git mirror instead of from SVN it will have
"git-<very short sha>" at the end of the version. We need to remove that
so that version comparison will work correctly.
Fixes : #2786
7 years ago
Dylan Baker
ed68c5cc3b
vim: Add warning function to list of builtins
7 years ago
Iñigo Martínez
0291722017
docs: Change variable in pkg-config example
...
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
7 years ago
Iñigo Martínez
ad08d8b9a0
docs: Add documentation to dependency variables
...
Meson is able to redefine variables when retrieving them from
`pkg-config` dependencies. However, the documentation is missing.
This patch adds documentation for this feature.
7 years ago
Ernestas Kulik
cc42e21202
tests: add Vala thread flag test
...
This test checks that things don’t fall apart when a threads dependency
is added to a Vala target.
7 years ago
Ernestas Kulik
42a92e182b
vala: add env parameter to thread flag methods
...
fc547ad05e
added a parameter to thread
flag methods, which broke the Vala case.
7 years ago
Jussi Pakkanen
e674434389
Updated version number for new release.
7 years ago
Jussi Pakkanen
cbefb57ffe
Merge pull request #2745 from dcbaker/submit/haiku
...
small fixes for haiku
7 years ago
Jussi Pakkanen
5ff9e05c8b
Merge pull request #2697 from mesonbuild/custom-target-depends-serialize
...
custom target: Consider all build depends while serializing
7 years ago
Nirbheek Chauhan
664771bb53
appveyor.yml: Use MSYS2-MinGW Python for tests
...
Fix MemoryError in python3 module:
https://ci.appveyor.com/project/jpakkane/meson/build/4334/job/aowc3iiq8yfs02bi
It's probably caused by improper mixing of MT and non-MT libraries,
but this is indicative of how people use Meson in MSYS2 anyway.
7 years ago
Nirbheek Chauhan
2c4e7ebb9b
dependencies: Don't use NotImplementedError for invalid methods
...
Using NotImplementedError throws an ugly traceback to the user which
does not print the line number and other information making it
impossible to figure out what's causing it.
Also override it for internal dependencies because self.name is "null"
for them.
7 years ago
Nirbheek Chauhan
533e666901
dependencies: Fix detection of link args on MSYS2
...
The sysconfig config variables are different on MSYS2 and the paths
are also different. We now also use the full path to the import or
static library instead of using -Lfoo -lpython35 etc.
Also obey the value of the 'static' keyword argument.
7 years ago
Nirbheek Chauhan
6f42f83867
dependencies: Fix detection of Python arch on MSYS
...
sysconfig.get_platform() returns 'mingw' with MSYS2, so we need to
use some other method; in this case I chose to use the CC that
Python was compiled with, which is a relatively reliably indicator
unless people start using Python on Windows compiled with Clang or
something.
7 years ago
Nirbheek Chauhan
5a1d294b5e
dependencies: Handle /usr/bin/env shebangs on Haiku
...
/usr/bin/env does not exist on Haiku since there's no /usr. The actual
location is /bin/env. Detect that case and directly use the
interpreter being passed to `env` in the shebang.
Also reorganize the Windows special cases which does the same thing.
7 years ago
Ernestas Kulik
7ae5716f67
Touch up install_dir() documentation
...
It no longer removes the target tree before copying files.
7 years ago
behlec
4217a9ca7e
Check for more errors when executing subprocess. ( #2746 )
7 years ago
Jon Turney
8d795a8403
Fix typo in release note snippet for get_unquoted
...
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
7 years ago
Eric Engestrom
3d63f21b60
Fix `array` type name
...
c9351ce30c
introduced the type as `array`,
so mintro should expose it under the same name.
(while at it, rename test 169 to be coherent)
7 years ago
behlec
5992ab1c72
Improve error handling when failing to execute program. ( #2743 )
7 years ago
Dylan Baker
75bc95bd66
docs: Add haiku to reference table
7 years ago
Dylan Baker
b56450f9b2
tests: Add haiku to get define test
7 years ago
Dylan Baker
fc547ad05e
haiku: do not add pthread arguments
...
Haiku has pthreads, but they are part of the standard C library, and do
not need either special compiler or linker flags.
7 years ago
Jussi Pakkanen
4ae0cadb7f
Renamed UserStringArrayOption to UserArrayOption for short.
7 years ago
Jussi Pakkanen
c2d23dd678
Add C++17 flags to GCC and Clang.
7 years ago
Jussi Pakkanen
de99b9d5b9
Silence git stdout messages.
7 years ago
Xavier Claessens
e2afaf40c0
Fix duplicated test case 168
7 years ago
Jussi Pakkanen
bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
...
Created disabler object type
7 years ago
Jussi Pakkanen
d3dcef7efc
Added documentation for disabler objects.
7 years ago
Jon Turney
87e6201214
Document and improve not-found dependency objects
...
Document dependency('', required:false) usage.
Avoid emitting 'Dependency found: NO'.
7 years ago
Jussi Pakkanen
678daad6cc
Created a new disabler type.
7 years ago
Jussi Pakkanen
6d03111638
Minor fixes.
7 years ago
Joergen Ibsen
521933357d
Fix path for str arguments to depend_files
...
Fixes #2633
7 years ago
Niklas Claesson
9884508535
Boost: Pick correct version
...
If many binary packages are installed, pick the one built with the correct
toolset. Fixes #2532
7 years ago
Jussi Pakkanen
112e6c1927
Merge pull request #2638 from jibsen/use-value-regex
...
Use regex to substitute template strings
7 years ago
Jussi Pakkanen
018deb48fe
Merge pull request #2663 from inigomartinez/pkg-config-define-variable
...
dependencies: Allow pkg-config to define variables
7 years ago
Joergen Ibsen
312bc2ca81
Fix string format recursive replace
...
Also error on placeholder index out of range.
7 years ago
Jussi Pakkanen
cf76ffad14
Merge pull request #2703 from mesonbuild/msvc-library-search-fixes
...
Various MSVC library search fixes
7 years ago
Jussi Pakkanen
2cf1e8da15
Merged array option branch.
7 years ago
Jussi Pakkanen
754e33e574
Renamed test dir to avoid duplicates.
7 years ago
Jussi Pakkanen
f8a419b27d
String arguments can permit arbitrary string values
...
by leaving out the choices keyword.
7 years ago
Nirbheek Chauhan
bccb7a8eb8
unit tests: Skip coverage properly with clang
7 years ago