Commit Graph

70 Commits

Author SHA1 Message Date
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
Jussi Pakkanen d2b5e5c7a5 The mass flags -> args renaming for consistency. 2014-06-22 17:10:00 +03:00
Jussi Pakkanen ec167c8107 Dep file name fix. 2014-06-19 00:40:58 +03:00
Jussi Pakkanen 7b4595e07c Set up dependencies for Rust linking. Does not work fully yet. 2014-06-19 00:25:15 +03:00
Jussi Pakkanen bf4708eb83 Build a shared Rust library. 2014-06-19 00:02:19 +03:00
Jussi Pakkanen 4187b0b6c8 Rust dependency tracking. 2014-06-18 23:27:01 +03:00
Jussi Pakkanen 31dbb46652 Rust buildtype flags. 2014-06-18 23:22:29 +03:00
Jussi Pakkanen f22376701b Can compile very basic Rust programs. 2014-06-18 01:22:55 +03:00
Jussi Pakkanen 7c8cd80a15 Removed cppcheck target now that we have run targets. 2014-06-11 23:21:22 +03:00
Jussi Pakkanen 73ca870bef Can specify standalone command targets. 2014-06-11 22:38:36 +03:00