Commit Graph

311 Commits

Author SHA1 Message Date
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
Jussi Pakkanen ec491e200b A very simple module implementation to get things going. 2015-03-04 23:53:35 +02:00
Jussi Pakkanen f5ad718f3a Added found method to dependencies. 2015-02-21 03:52:16 +02:00
Jussi Pakkanen c7e3d84f51 Validate variable names better in assignment. 2015-02-21 02:48:32 +02:00
Jussi Pakkanen 75a0bc8350 Created a set_variable command. 2015-02-21 02:31:34 +02:00
Jussi Pakkanen 87ea869f02 Can install files created with configure_file. 2015-02-15 19:35:53 +02:00
Jussi Pakkanen 99bb73e6c9 Changed install_data to get rid of useless and confusing target subdir name. 2015-02-15 19:13:21 +02:00
Axel Waggershauser 0a95e4b4a9 moved helper function detect_vcs into mesonlib.py 2015-02-14 01:56:27 +01:00
Axel Waggershauser 223596d7bf added support for optional custom command and replace_string parameter of vcs_tag 2015-02-11 03:27:40 +01:00
Axel Waggershauser bc4b28b069 tracked upstream (mostly new vcs_tag) 2015-02-11 00:17:30 +01:00
Jussi Pakkanen 57e74de3ae Provide the vcs_tag command. Closes #33. 2015-02-08 20:34:33 +02:00
Jussi Pakkanen 201664b2b8 Make directories in build tree, too. 2015-02-06 18:58:37 +02:00
Axel Waggershauser 129bb902bc added basic version of VCS supprt for configuring files based on VCS state during build time 2015-02-06 00:06:32 +01:00
Jussi Pakkanen f23e6c72f4 First cut at the Wrap dependency downloader. 2015-02-02 20:25:35 +02:00
Jussi Pakkanen 3630febe1e Verify that option names do not have invalid characters. 2014-12-21 21:34:26 +02:00
Jussi Pakkanen 525f0ae6d2 Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
Jussi Pakkanen e37424c9e1 More strict type checking for arithmetic operations. 2014-11-16 19:56:22 +02:00
Jussi Pakkanen 707e721dd3 Merge pull request #18 from Xenopathic/arithmetic. 2014-11-16 19:43:18 +02:00
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
2014-11-16 16:45:10 +00:00
Jussi Pakkanen 47bea98298 Allow getting builtin options with get_option. Fixes #23. 2014-11-16 18:30:38 +02:00
Jussi Pakkanen e5b1d855a1 Further harmonise held_object. 2014-11-07 19:05:15 +02:00
Jussi Pakkanen 188986fac3 Harmonise held_object usage somewhat. 2014-11-07 19:00:57 +02:00
Jussi Pakkanen b44ca46e92 Implement a foreach loop construct. Closes #17. 2014-11-05 20:38:35 +02:00
Jussi Pakkanen 0c86f30d4b Can install entire subtrees with one command. Closes #14. 2014-11-03 23:28:47 +02:00
Jussi Pakkanen a500c6cfa8 Can install data files from subdirectories. 2014-11-03 18:37:23 +02:00
Jussi Pakkanen d767bcf86d Can install man files from a subdir. 2014-11-03 18:30:24 +02:00
Jussi Pakkanen 8313c4ed00 Use correct path when installing headers. Fixes #16. 2014-11-03 18:23:29 +02:00
Jussi Pakkanen bc73dce3dc Remove deprecated bits. 2014-10-24 05:15:35 +03:00