Commit Graph

243 Commits

Author SHA1 Message Date
Jussi Pakkanen d64211f570 Moved pkg-config to a module so we no longer need special case code in core for it. 2015-12-23 15:10:27 +02:00
Jussi Pakkanen bab7edfc10 Create all dirs at the beginning rather than on-demand as a side effect. 2015-12-12 01:41:57 +02:00
Jussi Pakkanen 3c3c977518 Fix incorrect private_dir_abs method. 2015-12-12 01:34:58 +02:00
Jussi Pakkanen 8d8e25118b Merge pull request #330 from mesonbuild/swift
Added Swift support.
2015-12-12 01:08:11 +02:00
Jussi Pakkanen d531f915b1 Can build Swift libraries and link them. 2015-12-11 00:19:25 +02:00
Jussi Pakkanen 43b07729aa Reworked swift code so now can use multiple source files in one target. 2015-12-10 21:49:41 +02:00
Jussi Pakkanen 70695bead4 Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325. 2015-12-09 18:00:06 +02:00
Jussi Pakkanen 23c6de3461 Can specify a working directory for tests. Closes #326. 2015-12-08 15:45:51 +02:00
Jussi Pakkanen 26873801bc Can define benchmarks and run them. 2015-11-25 23:29:06 +02:00
Jussi Pakkanen 16fa657304 Can use built exes in custom targets. 2015-11-19 16:16:36 +02:00
Jussi Pakkanen 89834657a7 Regression fix. 2015-11-08 18:06:48 +02:00
Jussi Pakkanen 7bfc04ecdb Merged default library branch. 2015-11-06 21:05:05 +02:00
Jussi Pakkanen 1b697f04cd Fixed run targets on VS2010. 2015-11-06 20:42:14 +02:00
Jussi Pakkanen 86c401e7b0 Use absolute paths on msvc projecte because their cwd varies. The correct solution would be to build target relative paths but I do not have suffient interest to spend the time. 2015-11-06 19:53:01 +02:00
Jussi Pakkanen e8cca681ca Simple custom targets work in VS2010. 2015-11-05 21:37:12 +02:00
Jussi Pakkanen 5be7c011bf Regenerator script works, but is not run automatically yet. 2015-11-04 20:59:02 +02:00
Jussi Pakkanen e2313b85d7 Refactored builtin options to a dictionary and created a new default library target type. 2015-11-03 03:03:54 +02:00
Jussi Pakkanen 50663144c3 Can set compiler options, added language versions for Gnu and Clang. 2015-10-04 03:41:38 +03:00
Jussi Pakkanen d170836051 Windows fix. 2015-09-20 19:22:02 +03:00
Jussi Pakkanen 5c5f8c7813 Merged trunk changes. 2015-09-17 20:07:40 +03:00
Jussi Pakkanen 067935ce76 Added conf option for build tree layout. 2015-09-17 19:21:26 +03:00
Jussi Pakkanen 384365c843 Added outdir() method to build targets so we can make output dirs togglable. 2015-09-17 18:48:26 +03:00
Jussi Pakkanen 0131555e28 Fix all tests except gir, which requires some new functionality. 2015-09-03 22:43:02 +03:00
Jussi Pakkanen f9060a70bb Converted a bunch of locations to support different target output path. 2015-09-03 00:01:39 +03:00
Jussi Pakkanen 363bc42c5c Started target out dir refactoring with some clarifying renamings. 2015-09-02 20:46:04 +03:00
Jussi Pakkanen 6cca79b052 Added multiple selectable warning levels. 2015-08-27 01:07:29 +03:00
Jussi Pakkanen 5467b7d58b Made Fortran static libraries work. Closes #237. 2015-08-23 20:17:37 +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 9d9ba50911 Put build type warning flags at the beginning so they are overridable. 2015-08-06 22:12:32 +02:00
Jussi Pakkanen c12a4c1aca Merge pull request #214 from mesonbuild/cross
Merge cross compilation branch.
2015-07-29 00:04:29 +03:00
Jussi Pakkanen b7e391ead4 Simulate rpath on windows by adding dll subdirectories to global path in tests. 2015-07-28 00:09:37 +03:00
Jussi Pakkanen 30d0c2292f Support target-only cross compilation properly. 2015-07-27 00:55:28 +03:00
Jussi Pakkanen eb3cdb6f8d Changed cross compilation file to new format. 2015-07-27 00:54:40 +03:00
Jussi Pakkanen fa74ef4c57 Added timeout kwarg to tests. 2015-07-23 22:28:03 +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 528e817bca Removed prints that stayed behind by accident. 2015-06-17 21:36:53 +03:00
Jussi Pakkanen 8f27cd399e Fixed broken subdir object extraction and moved tests. 2015-06-17 20:50:03 +03:00
Jussi Pakkanen de941eb4f6 Fix extract_object in a subproject. 2015-06-11 00:27:18 +03:00
Mathieu Duponchelle 0a726413ae backends: Add extra args after compiler.std_warn_args.
This to give a chance to the application to disable pedantic
for example.
2015-05-29 22:13:59 +02:00
Jussi Pakkanen ff51f2196f Make extract_objects work with subdirectories. 2015-05-21 22:31:10 +03:00
Jussi Pakkanen 9c6ae66211 A fix. 2015-05-17 19:01:50 +03:00
Jussi Pakkanen 5bebe6ce14 A few more eradications of plain strings. 2015-04-26 01:56:02 +03:00
Jussi Pakkanen 6237695e96 Use File objects for all sources. Fix all basic tests. 2015-04-22 15:53:46 +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 e46c1743ce Allow use of external test executables. Closes #89. 2015-03-27 19:09:26 +02:00
Jussi Pakkanen d289887b1b Add should_fail kwarg to test to indicate tests that should fail. 2015-03-23 23:11:04 +02:00
Jussi Pakkanen 525f0ae6d2 Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
Jussi Pakkanen 74d6502de2 Workaround for Clang linker bug where it can not find shared libraries in rpath directories. The solution is to specify all linker targets every time. 2014-10-18 14:23:45 +03:00
Jussi Pakkanen d79b8a19a0 Made include args always return arrays for consistency. 2014-09-05 18:52:17 +03:00