Commit Graph

366 Commits

Author SHA1 Message Date
Jussi Pakkanen e29e4358e6 Use makedirs instead of mkdir. Closes #247. 2015-08-27 20:29:20 +03:00
Jussi Pakkanen c19570654c Expose project version properly. 2015-08-25 01:43:04 +03:00
Jussi Pakkanen cd97f7a768 Give sanity test binaries different names. Also expose project version to modules. 2015-08-25 01:29:16 +03:00
Jussi Pakkanen bd5b4deeda Better sanity testing. 2015-08-25 01:19:58 +03:00
Jussi Pakkanen 7c6e99149b Merge pull request #236 from mesonbuild/depmanifest2
Add version numbers to projects and generate a dep manifest.
2015-08-23 20:13:53 +03:00
Jussi Pakkanen e6a868e533 Merge pull request #229 from mesonbuild/crossname
Use system() instead of name() which is a confusing term.
2015-08-21 23:16:42 +03:00
Jussi Pakkanen 5ffe46bc6a Add version numbers to projects and generate a dep manifest. 2015-08-21 22:11:44 +03:00
Jussi Pakkanen 24d23c3086 Can add file objects to command line arguments. Closes #235. 2015-08-21 22:11:26 +03:00
Jussi Pakkanen ee4e785b1e Add support for subscripting array objects with []. 2015-08-19 23:34:49 +03:00
Jussi Pakkanen 78739afd9c Use system() instead of name() which is a confusing term. 2015-08-16 23:32:39 +03:00
Jussi Pakkanen 63572626c6 Copy permission bits from source files and fix a path issue. 2015-08-14 16:34:24 +03:00
Jussi Pakkanen a5abcf1fe2 Created the += operator. 2015-08-14 16:05:58 +03:00
Jussi Pakkanen e842e6602c A few tweaks. 2015-08-14 01:24:11 +03:00
Jussi Pakkanen 05d929d542 Fix introspection and make it possible to have top level targets with the same name in subprojects. Fixes #222. 2015-08-12 14:04:41 +03:00
Jussi Pakkanen 849786da14 Merge pull request #218 from mesonbuild/gtkdoc
Basic gtkdoc support
2015-08-07 12:44:26 +02:00
Jussi Pakkanen 83cc5ce4c5 Allow more than one install script and make gtkdoc method return one. 2015-08-02 13:49:11 +03:00
Jussi Pakkanen 8b52dec6d9 Can generate gtkdoc documentation. 2015-08-02 13:49:11 +03:00
Jussi Pakkanen 0728484ef7 Add cpu method that was forgotten somehow. 2015-07-31 01:05:18 +03:00
Igor Gnatenko ba92f2126c cleanups 2015-07-28 01:12:38 +03:00
Igor Gnatenko 53363ab053 cleanups 2015-07-28 01:10:54 +03:00
Jussi Pakkanen 642db009a3 Cleanups. 2015-07-28 01:01:30 +03:00
Jussi Pakkanen 30d0c2292f Support target-only cross compilation properly. 2015-07-27 00:55:28 +03:00
Jussi Pakkanen 37b2a195bd Get build machine's CPU info too. 2015-07-27 00:55:27 +03:00
Jussi Pakkanen 463d08d545 Now host_machine, build_machine and target_machine are properly separated and return correct values. 2015-07-27 00:55:27 +03:00
Jussi Pakkanen eb3cdb6f8d Changed cross compilation file to new format. 2015-07-27 00:54:40 +03:00
Jussi Pakkanen 5788f47952 Added (or, rather, brought back) the add_languages function. 2015-07-25 23:20:37 +03:00
Jussi Pakkanen fa74ef4c57 Added timeout kwarg to tests. 2015-07-23 22:28:03 +03:00
Jussi Pakkanen 0e508bf818 Added a extract_all_objects method to make recombining targets easier. Fixes #205. 2015-07-21 21:34:18 +03:00
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