Marc-André Lureau
23ea9feee3
build: learn to take CustomTargetIndex as custom_target command
...
Fix ERROR: Argument <CustomTargetIndex:...>[0]> in "command" is invalid.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
3 years ago
Jussi Pakkanen
e75e3976fa
Condense test directory names.
4 years ago
Xavier Claessens
633264984b
custom_target: Add env kwarg
4 years ago
Jussi Pakkanen
9d1e747d17
Condense test directory names again.
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Daniel Mensinger
8e60b8c146
test: merge installed_files.txt into test.json
5 years ago
James Hilliard
315ab997b4
Add tests for sources that are disablers.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
Jussi Pakkanen
972535a6ac
Condense test dirs.
6 years ago
Nirbheek Chauhan
15b6915954
custom_target: Recursively flatten `command:`
...
Without this, files() in the arguments give an error because it's a list
of mesonlib.File objects:
Array as argument 1 contains a non-string.
It also breaks in nested lists. Includes a test for this.
8 years ago
Jussi Pakkanen
0a2daf84eb
No longer require a binary called python3 on Windows. The default name is "python".
8 years ago
Nirbheek Chauhan
5fdac48250
custom_target: Substitute @OUTPUT@ and @INPUT properly
...
They weren't being substituted if they were a part of a command
argument, ala --output=@OUTPUT@, etc.
Closes https://github.com/mesonbuild/meson/issues/824
8 years ago
Jussi Pakkanen
3ae918a463
Add support for dependency files in custom targets.
8 years ago
Jussi Pakkanen
73ca870bef
Can specify standalone command targets.
11 years ago
Jussi Pakkanen
8467c5b0a6
Can now generate GObject introspection data and install it.
11 years ago
Jussi Pakkanen
2ecd2ea65a
Can define custom targets.
11 years ago