FFY00
6738fa58a7
ci: add commands related to 'test cases/d/11 dub'
7 years ago
FFY00
590a553a77
test cases: add test case for dub
7 years ago
FFY00
a477737637
docs: add documentation related to dub and the dlang module
7 years ago
FFY00
ec01a77421
dlang module: add a method to generate a dub file
7 years ago
FFY00
8ef4864ae4
dependencies: add dub as a dependency method
7 years ago
Kurtis Rader
5290f41f31
Report exit status or signal that killed the test
...
When a test fails due to a signal (e.g., SIGSEGV) it can be somewhat
mysterious why the test failed. Also, even when a test fails due to a
non-zero exit status it would help if the exit status was reported. This
augments the result string to include the non-zero exit status or
signal number and name.
Resolves #3642
7 years ago
Jussi Pakkanen
8014a42f57
Merge pull request #3715 from jon-turney/duplicate-rsrc-script-name
...
Use a unique name for windows resource compilation custom target
7 years ago
Jussi Pakkanen
cd63ca9c19
Support Rust targets with more than one source file. Closes #3632 .
7 years ago
Xavier Claessens
c5cb65eb7c
gtkdoc: Run gtkdoc-scangobj command from build directory
...
All paths in CFLAGS are relative to build_root, so current directory
must be there we invoking gtkdoc-scangobj.
Closes : #3379
7 years ago
Jon Turney
8d5361bb1d
Wrap a line in a way that doesn't break link [skip ci]
7 years ago
Jon Turney
2cb6bb1cf9
Fix header level of pcap [skip ci]
7 years ago
Jon Turney
77d872a35e
Improve documentation of case-(in)senstivity of dependency names [skip ci]
7 years ago
Christoph Behle
b08902a60f
Improved documentation.
...
Added entry to release notes.
Added note to documentation, regarding from which version on the
behavior is changed.
7 years ago
Christoph Behle
f2622133e2
Improve test case.
...
Add empty string literal to concatenation test.
7 years ago
Christoph Behle
219fcfad14
Document change in reference manual.
7 years ago
Christoph Behle
47c3a26915
Always apply concatenate_string_literal.
...
get_define always applies concatenate_string_literal to its result.
Remove kwarg concatenate_string_literal from get_define.
7 years ago
Christoph Behle
b19b714f37
Add tests for concatenate_string_literals
7 years ago
Christoph Behle
626b0bcb05
Make concatenate_string_literals static
7 years ago
Christoph Behle
40d121d33e
get_define can concatenate string literals.
...
Added method concatenate_string_literals to CCompiler. Will concatenate
string literals.
Added keyword argument 'concatenate_string_literals' to Compiler.get_define.
If used will apply concatenate_string_literals to its return value.
7 years ago
Christoph Behle
bbb893f39e
Add test case for string literal concatenation.
7 years ago
Christoph Behle
ce27dd3aee
Revert change
7 years ago
Christoph Behle
8ef4216f01
Concatenate string literals in get_define
...
If get_define returns a list of string_literals concatenate them into
one string.
7 years ago
Jon Turney
4bc6b68bae
Also test that the resource has the expected contents
7 years ago
Matthew Waters
4edec259ca
modules/qt: check for un-suffixed moc,rcc,uic on windows
...
The windows Qt installer doesn't ship with suffixed versions of the qt
tools.
7 years ago
Niklas Claesson
14716ea90c
Visual Studio: Implement startup project
7 years ago
Nirbheek Chauhan
26e11f5fd8
Add missing FeatureNew for libwmf dependency
...
Also add it to the release notes for the 0.44 release.
https://github.com/mesonbuild/meson/pull/3709#issuecomment-395738573
7 years ago
Nirbheek Chauhan
2d1fc25599
run_tests: Run all cross tests together
...
There is a lot of overhead for each travis job, because docker pull
takes 3 minutes. Each cross test takes 3-4 minutes.
To make things worse, sometimes Dockerhub is slow and docker pull takes
longer than 3 minutes.
7 years ago
Paolo Bonzini
1a5a18a3f3
vala: fix extract_all_objects() result
...
Because vala is not listed in clike_langs, is_source(fname) is returning False
for Vala source files. Therefore, extract_all_objects() is completely empty
for Vala programs.
Fixes #791
7 years ago
Jon Turney
d47ece391a
Document version when custom detectors were added [skip ci]
7 years ago
Jon Turney
2e29f37b0e
Document values for dependency(method:) [skip ci]
...
We say 'different dependencies support different values for this', but
nowhere document what values are supported, so the only way to find these
out is to read the source, or guess. Make a start at doing that.
7 years ago
Jon Turney
c2cb2f5c1c
Alphabetize custom dependencies [skip ci]
7 years ago
Jon Turney
7529606f4c
Correct the name of the libwmf dependency [skip ci]
...
q.v. dependencies/__init__.py#L41
7 years ago
Nirbheek Chauhan
1b1c66d7bc
meson.py: sys.path requires str, not pathlib.Path
7 years ago
Nirbheek Chauhan
be7d8b2d2f
configure_file: Add 'encoding' to FeatureNew
7 years ago
Sander Sweers
ec616c2aa5
configure_file: Add release snippet for encoding keyword
7 years ago
Sander Sweers
461cf0cba1
configure_file: test writing non ascii with ascii encoding keyword
7 years ago
Sander Sweers
38fa281448
Add new encoding keyword for configure_file to manual
...
Also add a section how to deal with file encodings.
7 years ago
Sander Sweers
47785bf89b
Add file encoding to configure_file
...
Input files can be in any file encoding, not just utf-8 or isolatin1. Meson
should not make assumptions here and allow for the user to specify the
encoding to use.
7 years ago
Xavier Claessens
18e25b6773
Fix options being reset to default on reconfigure
...
Closes : #3712
7 years ago
Jon Turney
2e34024a05
Refine cross file checking to ignore directories
...
e.g. 'meson x86_64-w64-mingw32 --cross-file x86_64-w64-mingw32' currently
fails with an IsADirectoryError exception.
Cross files must be files, so when searching, only accept a candidate path
which is an existing file, not just an existing path.
7 years ago
Robert Ancell
6461d4cda2
docs: Add release notes for new gnome.gdbus_codegen keywords
7 years ago
Robert Ancell
375dcd546a
gdbus_codegen: Support --c-generate-autocleanup
7 years ago
Nirbheek Chauhan
df6909a83c
Add a unit test for `meson introspect --installed`
7 years ago
Thibault Saunier
aee9b5a518
mintro: Fix introspecting installation paths
...
A new custom_install_mode element was added in 05c43cdcd
7 years ago
Jon Turney
80ce5e0817
Test for Windows resource compilation reusing the same script name
...
Extended from the test case in #3575 .
This exercises File objects and string filenames for the same resource
script filename at different paths.
7 years ago
Jon Turney
884f38fe1b
Use a unique name for windows resource compilation custom target
7 years ago
Robert Ancell
83665a482a
gdbus_codegen: Support arbitrary extra arguments
7 years ago
Nirbheek Chauhan
61c6f589f3
backends: Don't exclude system libraries for PATH
...
We reuse the same function for generating PATH, and we don't want to
exclude system paths there for obvious reasons.
7 years ago
Nirbheek Chauhan
186eed2dc6
find_library: Add a cache for library searching
...
Otherwise we can end up searching for the same library tens of times,
because pkg-config does not de-duplicate -lfoo args before returning
them.
We use -Wl,--start-group/end-group, so we do not need to worry about
ordering issues in static libraries.
7 years ago
Nirbheek Chauhan
6b7dba7f06
backends: Don't hardcode system library paths
...
Lookup the library paths using the available compilers instead.
This makes the code work on non-Linux platforms too.
7 years ago