Commit Graph

79 Commits

Author SHA1 Message Date
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
Jussi Pakkanen bae8507753 Make it possible to generate source files in custom targets. 2014-07-27 02:54:23 +03:00
Jussi Pakkanen 5736f8dc60 Subdir in custom target sources, too. 2014-07-26 20:18:00 +03:00
Jussi Pakkanen fdbc45eb7f Can specify individual files from rules that generate multiple outputs. 2014-07-26 19:15:46 +03:00
Jussi Pakkanen 7f09d89eaa More betterer sorting. 2014-07-19 16:17:38 +03:00
Jussi Pakkanen 279dd5e809 Sort input files so command lines do not change. This allows Ninja to skip unnecessary build steps. 2014-07-19 15:53:43 +03:00
Jussi Pakkanen f55c81ec23 Can set per-target cs args. 2014-07-19 01:44:10 +03:00
Jussi Pakkanen 544ce42c52 Build type flags for C#. 2014-07-19 01:33:01 +03:00
Jussi Pakkanen 7814ef986f Set up link paths. 2014-07-19 01:14:21 +03:00
Jussi Pakkanen f7d58d7b6f Some fixes. 2014-07-18 23:18:26 +03:00
Jussi Pakkanen fb884e3856 Can compile C# programs with Mono. 2014-07-18 21:49:14 +03:00
Jussi Pakkanen 83237f2b38 Added option for werror. 2014-07-18 20:51:26 +03:00
Jussi Pakkanen b33c55bba0 Fix SONAME generation. 2014-07-18 18:08:22 +03:00
Jussi Pakkanen e38f040661 Can set install time rpath. 2014-07-11 20:53:50 +03:00
Jussi Pakkanen 6759e404d9 Make it possible to run a custom script during install. 2014-07-09 16:30:58 +03:00
Jussi Pakkanen 15128ab6bc Do not execute run targets by default. 2014-06-24 19:06:11 +03:00
Jussi Pakkanen 2d23a44e6e Deal with Rust static libraries, too. 2014-06-23 20:53:20 +03:00
Jussi Pakkanen 923ad8ab9b Invoke Rust via wrapper script. 2014-06-22 19:38:47 +03:00
Jussi Pakkanen f1cc633799 And the custom rules too. 2014-06-22 17:13:31 +03:00