Commit Graph

97 Commits

Author SHA1 Message Date
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
Jussi Pakkanen 8313c4ed00 Use correct path when installing headers. Fixes #16. 2014-11-03 18:23:29 +02:00
Juhani Simola d6a21792c3 Ninja backend: objects generated with custom_target can be linked 2014-10-28 23:45:05 +02:00
Jussi Pakkanen 83df68aa3f Fortran dep fix on Windows. 2014-09-26 18:37:56 +03:00
Jussi Pakkanen ff934952a0 Some windows fixes. 2014-09-26 18:03:06 +03:00
Jussi Pakkanen 154dc83973 Multiple generated sources in one target now work. 2014-09-20 22:14:38 +03:00
Jussi Pakkanen 77c14525c3 Autodetect runnable commands on unix (where chmod values might be wrong) and Windows (where files with weird suffixes are unrunnable. 2014-09-20 14:08:48 +03:00
Jussi Pakkanen dbb72bfd12 Custom targets can have multiple inputs and outputs. 2014-09-19 20:04:58 +03:00
Jussi Pakkanen d79b8a19a0 Made include args always return arrays for consistency. 2014-09-05 18:52:17 +03:00
Jussi Pakkanen 3ed22fcc56 Use external libs of static libraries when the static library is linked to a final target. 2014-09-03 22:13:14 +03:00
Jussi Pakkanen 1c0a735e00 Use static library dependencies not when the library is built but when it is used. 2014-09-02 23:06:07 +03:00
Jussi Pakkanen ccf63459c6 Made generated source depend on all generated headers. 2014-08-24 19:31:38 +03:00
Jussi Pakkanen 1419a6a316 Do Fortran dependency tracking manually because of bugs in other pieces of software. 2014-08-19 21:18:19 +03:00
Jussi Pakkanen 4d1778f275 Write module files into private directory. 2014-08-16 22:14:23 +03:00
Jussi Pakkanen b4d2437f24 Ignore missing Fortran modules as they may come from the compiler itself. 2014-08-08 21:15:39 +03:00
Jussi Pakkanen 1b830c907f Handle Fortran sources with dependencies to themselves. 2014-08-08 14:29:20 +03:00
Jussi Pakkanen f3d0778403 Handle Fortran's MODULE PROCEDURE construct. 2014-08-08 13:35:46 +03:00
Jussi Pakkanen a5863477f8 Kill end of line whitespace dead. 2014-08-07 12:34:35 +03:00
Jussi Pakkanen 09686a4e4d Use proper suffix with Fortran on Windows. 2014-08-04 18:37:30 +03:00
Jussi Pakkanen 21fb06087f Add the object file generated by MSVS pch compilation to the link command line as it is apparently required on some versions. 2014-08-04 18:32:08 +03:00
Jussi Pakkanen 100c20e568 Scan Fortran dependencies at the beginning for all sources. 2014-08-03 21:29:13 +03:00
Jussi Pakkanen 5303b1d0f4 Scan Fortran dependencies, but it fails currently due to a deficiency in Ninja. 2014-08-03 20:37:03 +03:00
Jussi Pakkanen 6af7f92ab3 Handle C# resource files. 2014-07-30 15:49:01 +03:00
Jussi Pakkanen af0ca6751a Made all unit tests pass again. 2014-07-27 03:11:50 +03:00