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
Jussi Pakkanen
f8593a13ce
Fix pipelining.
10 years ago
Jussi Pakkanen
1ac00031f9
Persist modules so they are imported only once for the lifetime of a build directory.
10 years ago
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).
10 years ago
Jussi Pakkanen
64fd8f427f
Metaprogramming in da hause fixing.
10 years ago
Jussi Pakkanen
6e6ac02eaf
Major refactoring to move Qt5 from core into a module. Rules are written but moc/uic/rrc are not generated yet.
10 years ago
Jussi Pakkanen
519f159dcc
Create a gnome module and add support for resource compiling.
10 years ago
Jussi Pakkanen
ec491e200b
A very simple module implementation to get things going.
10 years ago
Jussi Pakkanen
f5ad718f3a
Added found method to dependencies.
10 years ago
Jussi Pakkanen
c7e3d84f51
Validate variable names better in assignment.
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
0a95e4b4a9
moved helper function detect_vcs into mesonlib.py
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
201664b2b8
Make directories in build tree, too.
10 years ago
Axel Waggershauser
129bb902bc
added basic version of VCS supprt for configuring files based on VCS state during build time
10 years ago
Jussi Pakkanen
f23e6c72f4
First cut at the Wrap dependency downloader.
10 years ago
Jussi Pakkanen
3630febe1e
Verify that option names do not have invalid characters.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
e37424c9e1
More strict type checking for arithmetic operations.
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