Jussi Pakkanen
6af21dd20e
Fix add_global_arguments call that was using the old syntax. Closes #213 .
9 years ago
Jussi Pakkanen
5788f47952
Added (or, rather, brought back) the add_languages function.
9 years ago
Jussi Pakkanen
0e508bf818
Added a extract_all_objects method to make recombining targets easier. Fixes #205 .
9 years ago
Jussi Pakkanen
1d4af5c84e
Added test for declare_dependency.
9 years ago
Jussi Pakkanen
0356024300
Give top level targets unique private directories even if they share a basename with some other top level target.
10 years ago
Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
10 years ago
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
10 years ago
Jussi Pakkanen
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
10 years ago
Hemmo Nieminen
b63281d37a
Add a test for object extraction from subprojects.
...
Commit ff51f2196f
broke object extraction from subprojects. Add a new test case
to ensure this doesn't happen again.
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
9c9ab25190
Created a build_target function to set build target type dynamically.
10 years ago
Jussi Pakkanen
ff51f2196f
Make extract_objects work with subdirectories.
10 years ago
Igor Gnatenko
46804d4fe6
add has_type method
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Afief Halumi
acdef2e588
Allow user to specify subproject directory in project definition
...
project() now takes an optional keyword argument `subproject_dir` which specifies
the directory in which Meson will look for subproject. This argument is ignored
in subprojects as all subprojects are owned by the top level project.
subproject() now looks for the subproject in ${MESON_SOURCE_ROOT}/${SUBPROJECT_DIR}/foo
where SUBPROJECT_DIR can be assigned using project() in the top level project.
10 years ago
Jussi Pakkanen
3f7f984a39
Handle then unary negation operator.
10 years ago
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
10 years ago
Jussi Pakkanen
c78f8c9945
Renamed file function to files and made it take multiple arguments.
10 years ago
Jussi Pakkanen
6354b5f54a
Made file object testing a bit more thorough.
10 years ago
Jussi Pakkanen
bf9b5d7b72
The first step in a major refactoring starts by adding a new layer of abstraction.
10 years ago
Jussi Pakkanen
dfee5e5200
Fix subproject again.
10 years ago
Hemmo Nieminen
4952d2628e
Add a second "shared subproject" test.
...
This time, process the subprojects in reverse order.
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Hemmo Nieminen
0747402e6a
Fix a typo in test "79 shared subproject".
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
d532dbef42
Fix use of shared subprojects.
10 years ago
Hemmo Nieminen
e3b72045c4
Add a test case for a "shared subproject".
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
e87d3c07ad
Can specify explicit dependencies for custom targets.
10 years ago
Hemmo Nieminen
a3544847ca
Accept source files in extract_objects() (also) as a list.
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
00ecf811e6
Add this thing I forgot.
10 years ago
Jussi Pakkanen
94bc5f4033
Shameful hack to get configure files working with custom targets. Needs to be fixed properly during file object refactoring.
10 years ago
Jussi Pakkanen
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
Jussi Pakkanen
78d31cafd7
Looser alignment checks. Closes #58 .
10 years ago
Jussi Pakkanen
52b69b8939
Make sure that build and source subdirectories are always in search
...
path.
10 years ago
Jussi Pakkanen
ec491e200b
A very simple module implementation to get things going.
10 years ago
Jussi Pakkanen
e40eec4b85
Use fallback if git is not installed. Closes #44 .
10 years ago
Jussi Pakkanen
75a0bc8350
Created a set_variable command.
10 years ago
Jussi Pakkanen
87ea869f02
Can install files created with configure_file.
10 years ago
Jussi Pakkanen
99bb73e6c9
Changed install_data to get rid of useless and confusing target subdir name.
10 years ago
Axel Waggershauser
5a0cd64f9a
fixed typo in filename
10 years ago
Axel Waggershauser
223596d7bf
added support for optional custom command and replace_string parameter of vcs_tag
10 years ago
Jussi Pakkanen
57e74de3ae
Provide the vcs_tag command. Closes #33 .
10 years ago
Jussi Pakkanen
7a42ba8fa3
Use env.
10 years ago
Jussi Pakkanen
24484412b5
Start proper approach to determining how build_always targets should work by writing a proper test case illustrating how it should behave.
10 years ago
Jussi Pakkanen
73b8ff5341
Rework installation logic so we can go outside the install prefix.
10 years ago
Jussi Pakkanen
f5b016008f
Test fixing.
10 years ago
Robin McCorkell
702148aea5
Add number, string and array arithmetic
...
Addition (+), subtraction (-), multiplication (*) and division (/) for numbers
follows the BIDMAS rules.
Strings and arrays can be concatenated with the addition operator
Strings can be concatenated with numbers with the addition operator
10 years ago
Jussi Pakkanen
47bea98298
Allow getting builtin options with get_option. Fixes #23 .
10 years ago
Jussi Pakkanen
b44ca46e92
Implement a foreach loop construct. Closes #17 .
10 years ago
Jussi Pakkanen
0c86f30d4b
Can install entire subtrees with one command. Closes #14 .
10 years ago
Jussi Pakkanen
a500c6cfa8
Can install data files from subdirectories.
10 years ago
Jussi Pakkanen
d767bcf86d
Can install man files from a subdir.
10 years ago