Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
2015-07-05 01:47:34 +03:00
Jussi Pakkanen
ac127db919
Get builtin options by correct name in subprojects.
2015-06-30 20:43:05 +03:00
Jussi Pakkanen
790fe206e6
Removed unused method. Closes #163 .
2015-06-20 13:29:22 +03:00
jpakkane
f15eb466fb
Merge pull request #162 from mesonbuild/lint_errors
...
Fix some bugs when linting code
2015-06-19 13:10:07 +03:00
Igor Gnatenko
7599140321
interpreter: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:48:50 +03:00
Igor Gnatenko
59161f0300
interpreter: Undefined variable 'File'
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:39:22 +03:00
Hemmo Nieminen
cb6ef39d91
Fix a bug (typo) in commit 8f27cd39
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
2015-06-17 21:28:48 +03:00
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
2015-06-17 20:50:03 +03:00
Jussi Pakkanen
ec74616bbd
Prevent extraction of objects from subprojects.
2015-06-17 20:16:28 +03:00
Jussi Pakkanen
da5606eb57
Fix unwrapping of dependencies. Closes #150 .
2015-06-15 20:06:21 +03:00
Jussi Pakkanen
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
2015-06-15 00:26:19 +03:00
Jussi Pakkanen
db1c8dd79f
Fix error message argument passing. Fixes #147 .
2015-06-14 14:26:00 +03:00
Jussi Pakkanen
84ac67e825
Better error message. Closes #146 .
2015-06-14 14:02:13 +03:00
Jussi Pakkanen
d170780b7e
Added methods to get source and build root directories.
2015-06-07 14:21:24 +03:00
Jussi Pakkanen
9c9ab25190
Created a build_target function to set build target type dynamically.
2015-06-06 22:15:30 +03:00
Jussi Pakkanen
bf02849d59
Use cross file's pkgconfig binary when cross compiling. Closes #138 .
2015-06-06 22:02:37 +03:00
Igor Gnatenko
46804d4fe6
add has_type method
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-21 19:10:01 +03:00
Jussi Pakkanen
d83de3ee56
Can specify custom search directories in find_library.
2015-05-17 00:58:38 +03:00
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.
2015-05-15 21:06:31 +03:00
Jussi Pakkanen
3f7f984a39
Handle then unary negation operator.
2015-05-09 19:52:10 +03:00
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
2015-05-09 16:17:20 +03:00
Afief Halumi
6cdfb6a425
Make the message() function able to print out user defined types.
...
E.g. Strings, integers, arrays and arrays thereof.
2015-05-07 23:51:09 +03:00
Jussi Pakkanen
c78f8c9945
Renamed file function to files and made it take multiple arguments.
2015-05-02 15:47:03 +03:00
Jussi Pakkanen
5bebe6ce14
A few more eradications of plain strings.
2015-04-26 01:56:02 +03:00
Jussi Pakkanen
d1d15cec41
More stringlist refactoring.
2015-04-22 19:40:09 +03:00
Jussi Pakkanen
8e58bb16ad
Verify stringargs with decorator.
2015-04-22 18:46:30 +03:00
Jussi Pakkanen
236436da56
Started enforcing types better with decorators.
2015-04-22 18:03:18 +03:00
Jussi Pakkanen
6237695e96
Use File objects for all sources. Fix all basic tests.
2015-04-22 15:53:46 +03:00
Jussi Pakkanen
bf9b5d7b72
The first step in a major refactoring starts by adding a new layer of abstraction.
2015-04-21 16:27:58 +03:00
Jussi Pakkanen
dfee5e5200
Fix subproject again.
2015-04-09 00:46:33 +03:00
Jussi Pakkanen
d532dbef42
Fix use of shared subprojects.
2015-04-08 23:32:31 +03:00
Jussi Pakkanen
8d5c51fa55
Clarified error message.
2015-03-30 14:46:09 +03:00
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
2015-03-27 23:41:28 +02:00
Jussi Pakkanen
e46c1743ce
Allow use of external test executables. Closes #89 .
2015-03-27 19:09:26 +02:00
Jussi Pakkanen
00e07e4b3a
More path normalisation.
2015-03-27 18:38:55 +02:00
Jussi Pakkanen
94bc5f4033
Shameful hack to get configure files working with custom targets. Needs to be fixed properly during file object refactoring.
2015-03-26 18:01:14 +02:00
Igor Gnatenko
f1d2827bce
modules/gnome: inherit global cflags to g-ir-scanner. Closes #74
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-24 11:06:48 +03:00
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
2015-03-23 23:11:04 +02:00
Igor Gnatenko
b71d248b28
modules/rpm: handle pkgconfig files
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-21 14:57:53 +03:00
Igor Gnatenko
8bf4415dbd
modules/rpm: handle mans
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-21 02:04:59 +03:00
Igor Gnatenko
a7cd29c74b
modules/rpm: implement handling includedirs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-21 01:50:42 +03:00
Igor Gnatenko
953edd9fc9
modules/rpm: add compilers to BuildRequires automatically
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-21 00:50:21 +03:00
Igor Gnatenko
268560f490
add RPM module ( Closes #49 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-21 00:50:20 +03:00
Jussi Pakkanen
29fa1dd522
Add support for checking out git repos to subprojects automatically.
2015-03-20 15:51:04 +02:00
Jussi Pakkanen
f8593a13ce
Fix pipelining.
2015-03-13 19:59:12 +02:00
Jussi Pakkanen
1ac00031f9
Persist modules so they are imported only once for the lifetime of a build directory.
2015-03-13 19:55:09 +02:00
Jussi Pakkanen
96839e5893
Made Qt5 module do just preprocessing instead of building full executable, so it is composable with e.g. gettext and flex modules (when they appear).
2015-03-13 19:38:53 +02:00
Jussi Pakkanen
64fd8f427f
Metaprogramming in da hause fixing.
2015-03-09 19:48:43 +02:00
Jussi Pakkanen
6e6ac02eaf
Major refactoring to move Qt5 from core into a module. Rules are written but moc/uic/rrc are not generated yet.
2015-03-09 17:16:32 +02:00
Jussi Pakkanen
519f159dcc
Create a gnome module and add support for resource compiling.
2015-03-06 17:36:43 +02:00