Commit Graph

120 Commits

Author SHA1 Message Date
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 5ffe46bc6a Add version numbers to projects and generate a dep manifest. 2015-08-21 22:11:44 +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 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 83cc5ce4c5 Allow more than one install script and make gtkdoc method return one. 2015-08-02 13:49:11 +03:00
Jussi Pakkanen 30d0c2292f Support target-only cross compilation properly. 2015-07-27 00:55:28 +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
Afief Halumi 5148972bfe Avoid sorting object list before generating target
When adding objects to a build target (specifically static libraries)
they should appear at the end of the object list. Sorting the list always
put them at the beginning of the list.
2015-07-23 22:17:39 +03:00
Jussi Pakkanen 0356024300 Give top level targets unique private directories even if they share a basename with some other top level target. 2015-07-05 12:46:23 +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
Igor Gnatenko f03be73f02 ninjabackend: drop debugging print
We don't want have this print, because it's not needed info for users.
It was introduced in cd40187d4e.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-04 10:20:34 +03:00
Jussi Pakkanen cd40187d4e Handle files() in Vala arguments and set up deps correctly. 2015-07-03 22:18:09 +03:00
Jussi Pakkanen 5cbcb144fa Merge branch 'vala_args'. 2015-07-03 20:59:31 +03:00
Igor Gnatenko 1476af4ada vala: don't ignore vala_args. Closes #192
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-02 12:14:03 +03:00
Igor Gnatenko 919d958485 vala: use --target-glib only if >=, == specified
it does changes to generated code to drop deprecated functions, so
we can get unexpected errors

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-02 11:38:58 +03:00
Igor Gnatenko d7ca9eee5a vala: add support for --target-glib
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-02 00:23:52 +03:00
Igor Gnatenko aa9008e76d ninjabackend: fix bad-continuation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:48:46 +03:00
Jussi Pakkanen 05b6220844 In Vala .vapi files are sort of headers that you must put on the command line. Make it so. 2015-05-17 19:24:02 +03:00
Jussi Pakkanen 852fb28888 Do not use -o with Vala. Closes #120. 2015-05-17 18:53:12 +03:00
Jussi Pakkanen cf0bd77ddd Do not invoke linker via cmd /c on Windows. 2015-05-17 15:23:33 +03:00
Jussi Pakkanen 5bebe6ce14 A few more eradications of plain strings. 2015-04-26 01:56:02 +03:00
Jussi Pakkanen 83e04ca70f Fix the remaining tests. 2015-04-22 16:10:10 +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 bfa68aaeaf Autodetect Qt5 rcc dependencies as well as reasonably possible. 2015-04-08 23:05:14 +03:00
Jussi Pakkanen e87d3c07ad Can specify explicit dependencies for custom targets. 2015-04-02 16:43:35 +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 f390f152e5 Fix windows. 2015-03-27 18:19:17 +02:00
Jussi Pakkanen d6ef93434e Fix generators with multiple files. 2015-03-11 22:25:41 +02:00
Jussi Pakkanen 48477102c9 Now can compile all Qt5 tests with module. 2015-03-09 19:39:12 +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 52b69b8939 Make sure that build and source subdirectories are always in search
path.
2015-03-05 15:43:46 +02:00
Jussi Pakkanen c6dbf98a05 Do not use linker arguments of dependencies' dependencies if the target is a static library because the static linker does not understand them. 2015-02-21 14:59:16 +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
Jussi Pakkanen bf5466e7ef An implementation of build_always as slightly modified from the original by Axel Waggershauser. 2015-02-07 14:48:38 +02:00
Jussi Pakkanen 73b8ff5341 Rework installation logic so we can go outside the install prefix. 2015-02-04 22:00:06 +02:00
Jussi Pakkanen 2107be2a78 Add thread flags to compilers and use them on dependencies that require threads. Fixes #31. 2015-01-30 19:35:58 +02:00
Jussi Pakkanen 646afcac0d Run targets are in the console pool for obvious reasons. 2014-12-30 20:10:16 +02:00
Jussi Pakkanen 0f65a5991c Removed remnants of old debug funcs. 2014-12-22 17:55:30 +02:00
Jussi Pakkanen 08ef881c86 Extracted compiler definitions to their own file. 2014-12-03 22:37:06 +02:00
Jussi Pakkanen 4cfb3f1947 To celebrate the new version of Ninja in Debian, start using the console pool. 2014-12-03 21:17:43 +02:00
Jussi Pakkanen 8771b1f49b Better Ninja detection. 2014-11-24 18:41:41 +02:00
Robin McCorkell 339d2a0a2b Always run tests and external commands 2014-11-23 15:07:51 +00:00
Jussi Pakkanen 525f0ae6d2 Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
Jussi Pakkanen e0ec0c977f Do not quote $out or $in because Ninja does it by itself. 2014-11-16 15:29:00 +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