Dylan Baker
2b2ee68f90
dependencies: Print LLVM for LLVM dependency
...
Instead of config-tool
7 years ago
Dylan Baker
54d0faa3dd
vim: Add warning function to list of builtins
7 years ago
Jussi Pakkanen
88756bfe95
Print UTF-8 warning only when actually encountering non-ascii filenames.
7 years ago
Michael James Gratton
93c988b453
Enable re-compilation of GNOME gschema files if they have changed.
...
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
depend_files kwarg.
* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
other one that is permitted).
7 years ago
Ismael González
d946b03496
Use LC_ALL=C in CCompiler.get_library_dirs
...
Use LC_ALL=C in CCompiler.get_library_dirs to fix wrong results with non
English locales.
7 years ago
Michael James Gratton
1a50fe45e8
Add Geary to the list of users - will use meson for the next release.
7 years ago
Iñigo Martínez
cc952b055a
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
514d21e6a4
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
Jussi Pakkanen
4af4145d09
Files created with generator can have path segments.
...
This is OK, because they are written in the private directory
of each target and its layout can be anything.
7 years ago
Jussi Pakkanen
04d5d017c5
Fix documentation on disabler behaviour with short circuiting.
7 years ago
Ernestas Kulik
448710ba96
Fix Vala thread flag breakage ( #2756 )
7 years ago
Jussi Pakkanen
19cd60205d
Bump version number for new development.
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
Nirbheek Chauhan
3851867a06
dependencies: Always convert MinGW paths to MSVC on Windows
...
The MinGW toolchain can read MinGW paths, but Python cannot and we
sometimes need to parse the libs and cflags manually (for static-only
library searching, for instance). The MinGW toolchain can always read
Windows paths with `/` as path separater, so just use that.
7 years ago
Nirbheek Chauhan
4e637a6910
unit tests: Fix test_compiler_detection on MinGW
...
The compiler is x86_64-foo-bar-gcc/g++, so also check for that.
7 years ago
Nirbheek Chauhan
387b5e67a0
linkers: Return a Copy of VisualStudioLinker always_args
...
Otherwise people will accidentally append to it.
7 years ago