Jussi Pakkanen
30d0c2292f
Support target-only cross compilation properly.
9 years ago
Jussi Pakkanen
37b2a195bd
Get build machine's CPU info too.
9 years ago
Jussi Pakkanen
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
9 years ago
Jussi Pakkanen
eb3cdb6f8d
Changed cross compilation file to new format.
9 years ago
Jussi Pakkanen
5788f47952
Added (or, rather, brought back) the add_languages function.
9 years ago
Jussi Pakkanen
fa74ef4c57
Added timeout kwarg to tests.
9 years ago
Jussi Pakkanen
0e508bf818
Added a extract_all_objects method to make recombining targets easier. Fixes #205 .
9 years ago
Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
10 years ago
Jussi Pakkanen
ac127db919
Get builtin options by correct name in subprojects.
10 years ago
Jussi Pakkanen
790fe206e6
Removed unused method. Closes #163 .
10 years ago
Igor Gnatenko
7599140321
interpreter: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
59161f0300
interpreter: Undefined variable 'File'
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Hemmo Nieminen
cb6ef39d91
Fix a bug (typo) in commit 8f27cd39
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
10 years ago
Jussi Pakkanen
ec74616bbd
Prevent extraction of objects from subprojects.
10 years ago
Jussi Pakkanen
da5606eb57
Fix unwrapping of dependencies. Closes #150 .
10 years ago
Jussi Pakkanen
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
10 years ago
Jussi Pakkanen
db1c8dd79f
Fix error message argument passing. Fixes #147 .
10 years ago
Jussi Pakkanen
84ac67e825
Better error message. Closes #146 .
10 years ago
Jussi Pakkanen
d170780b7e
Added methods to get source and build root directories.
10 years ago
Jussi Pakkanen
9c9ab25190
Created a build_target function to set build target type dynamically.
10 years ago
Jussi Pakkanen
bf02849d59
Use cross file's pkgconfig binary when cross compiling. Closes #138 .
10 years ago
Igor Gnatenko
46804d4fe6
add has_type method
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
d83de3ee56
Can specify custom search directories in find_library.
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
Afief Halumi
6cdfb6a425
Make the message() function able to print out user defined types.
...
E.g. Strings, integers, arrays and arrays thereof.
10 years ago
Jussi Pakkanen
c78f8c9945
Renamed file function to files and made it take multiple arguments.
10 years ago
Jussi Pakkanen
5bebe6ce14
A few more eradications of plain strings.
10 years ago
Jussi Pakkanen
d1d15cec41
More stringlist refactoring.
10 years ago
Jussi Pakkanen
8e58bb16ad
Verify stringargs with decorator.
10 years ago
Jussi Pakkanen
236436da56
Started enforcing types better with decorators.
10 years ago
Jussi Pakkanen
6237695e96
Use File objects for all sources. Fix all basic tests.
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
Jussi Pakkanen
d532dbef42
Fix use of shared subprojects.
10 years ago
Jussi Pakkanen
8d5c51fa55
Clarified error message.
10 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
e46c1743ce
Allow use of external test executables. Closes #89 .
10 years ago
Jussi Pakkanen
00e07e4b3a
More path normalisation.
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
Igor Gnatenko
f1d2827bce
modules/gnome: inherit global cflags to g-ir-scanner. Closes #74
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
Igor Gnatenko
b71d248b28
modules/rpm: handle pkgconfig files
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
8bf4415dbd
modules/rpm: handle mans
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
a7cd29c74b
modules/rpm: implement handling includedirs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
953edd9fc9
modules/rpm: add compilers to BuildRequires automatically
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
268560f490
add RPM module ( Closes #49 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
29fa1dd522
Add support for checking out git repos to subprojects automatically.
10 years ago