summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Stop "fixing" command line in CustomTargets. (#737)Elliott Sales de Andrade2016-09-011-1/+0
|
* Use absolute paths for dep files in Visual Studio.Jussi Pakkanen2016-09-011-1/+4
|
* Use argparse's builtin version printer.Elliott Sales de Andrade2016-08-301-5/+2
|
* Merge pull request #725 from thiblahute/gir_subproject_depsJussi Pakkanen2016-08-2912-29/+480
|\ | | | | gnome: Handle internal dependencies to generate gir files
| * tests: framworks: 7 gnome: Stop using g_autoptrThibault Saunier2016-08-291-3/+11
| |
| * Test building gir file using internal dependenciesThibault Saunier2016-08-2910-0/+398
| |
| * gnome: Handle internal dependencies to generate gir filesThibault Saunier2016-08-291-26/+71
| |
* | Honor dependency `fallback` argument even if the dependency is not required ↵Saunier Thibault2016-08-292-9/+25
| | | | | | | | | | | | (#735) You can potentially have a fallback subproject and if that subproject fails, you can continue without that dependency
* | Properly handle Files used in CustomTarget commands.Elliott Sales de Andrade2016-08-292-2/+2
|/
* Merge pull request #731 from QuLogic/obey-DESTDIRJussi Pakkanen2016-08-284-16/+27
|\ | | | | Always obey DESTDIR even with absolute install_dir
| * Refactor DESTDIR determination into a single function.Elliott Sales de Andrade2016-08-271-25/+14
| |
| * Always obey DESTDIR even with absolute install_dir.Elliott Sales de Andrade2016-08-274-3/+25
| | | | | | | | | | | | Passing an absolute path to `install_dir` would previously always attempt to install there, instead of obeying DESTDIR, since os.path.join will 'reset' on absolute paths.
* | Fix CustomTargets used as input to CustomTargets. (#727)Elliott Sales de Andrade2016-08-283-1/+10
|/
* Add a new compiler object method: has_members (#723)Nirbheek Chauhan2016-08-273-11/+45
| | | | | | | | | | | | * Add a new compiler object method: has_members Identical to 'cc.has_member', except that this takes multiple members and all of them must exist else it returns false. This is useful when you want to verify that a structure has all of a given set of fields. Individually checking each member is horrifying. * Fix typo in exceptions for has_member(s)
* Merge pull request #696 from mesonbuild/depfileJussi Pakkanen2016-08-278-11/+116
|\ | | | | Add support for dependency files in custom targets.
| * Add depfile support to generators.Jussi Pakkanen2016-08-214-8/+62
| |
| * Add support for dependency files in custom targets.Jussi Pakkanen2016-08-206-3/+54
| |
* | Flatten isinstance calls. (#715)Elliott Sales de Andrade2016-08-277-46/+24
| | | | | | | | That is, isinstance(x, y) or isinstance(x, z) can be flattened with a tuple to isinstance(x, (y, z)).
* | Check for embedded @OUTPUT@s in commands.Jussi Pakkanen2016-08-271-3/+4
| |
* | Use global id instead of local for hg tag. (#710)Elliott Sales de Andrade2016-08-271-1/+1
| |
* | Merge pull request #712 from QuLogic/capturing-custom-targetJussi Pakkanen2016-08-279-11/+70
|\ \ | | | | | | Allow capturing command output of a custom target.
| * | Echo stderr from captured command.Elliott Sales de Andrade2016-08-261-0/+2
| | | | | | | | | | | | This helps with debugging if the command fails.
| * | Don't allow @OUTPUT@ when capturing output.Elliott Sales de Andrade2016-08-261-0/+3
| | |
| * | Add myself to authors.txt.Elliott Sales de Andrade2016-08-261-0/+1
| | |
| * | Allow capturing command output of a custom target.Elliott Sales de Andrade2016-08-268-7/+54
| | | | | | | | | | | | | | | | | | For commands that always output to stdout and don't have a "-o" or "--output" or some other similar option, this 'capture' setting allows the build to capture the result and place it in the output file.
| * | Accept string exe with Backend.serialise_executable.Elliott Sales de Andrade2016-08-261-4/+10
|/ / | | | | | | | | | | Normally, this accepts a build.Executable, but it accept build.BuildTarget and build.CustomTarget as well. Now it will also accept a string path.
* | macros.meson: override all supported options (#717)Igor Gnatenko2016-08-251-1/+10
| | | | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* | Do not error out if git pull fails on subprojects. Closes #720.Jussi Pakkanen2016-08-251-1/+4
| |
* | Merge pull request #700 from mesonbuild/sysconfdirJussi Pakkanen2016-08-242-0/+6
|\ \ | | | | | | Added sysconfdir option. Closes #694.
| * | Change default and add explanatory comment for why we do that.Jussi Pakkanen2016-08-212-2/+6
| | |
| * | Added sysconfdir option. Closes #694.Jussi Pakkanen2016-08-213-1/+3
| | |
* | | Merge pull request #709 from vinszent/masterIgor Gnatenko2016-08-241-2/+2
|\ \ \ | | | | | | | | 'name' needs to be 'self.name' in DependencyException
| * | | 'name' needs to be 'self.name' in DependencyExceptionippytraxx2016-08-231-2/+2
|/ / /
* | | Make D compilers return colored output by defaultMatthias Klumpp2016-08-221-0/+18
| | |
* | | Don't automatically override the -L flag of D compilersMatthias Klumpp2016-08-221-1/+16
|/ / | | | | | | Works around / resolves #702.
* | Consistent kwarg popping.Jussi Pakkanen2016-08-211-4/+2
| |
* | Add extra_args kwarg to glib-compile-resources. Closes #698.Jussi Pakkanen2016-08-211-0/+2
| |
* | tests: Don't fail wxwidgets test if wxwidgets is not installed (#639)Nirbheek Chauhan2016-08-211-4/+5
| | | | | | The widgets pull in lots of deprecated libraries, so don't require it
* | Merge pull request #680 from centricular/osx-dylib-soversionJussi Pakkanen2016-08-214-13/+38
|\ \ | | | | | | Add a test to find libfoo.X.dylib via -lfoo
| * | Don't add the soversion to the dylib filename on OS XNirbheek Chauhan2016-08-161-6/+4
| | | | | | | | | | | | | | | Doing so messes up library search with -lfoo. See: https://github.com/mesonbuild/meson/pull/680
| * | Add a test to find libfoo.X.dylib via -lfooNirbheek Chauhan2016-08-163-7/+34
| | | | | | | | | | | | | | | | | | Alex Băluț reported that on OS X libfoo.0.dylib cannot be found as -lfoo by the linker, and you must use -lfoo.0 instead. Add a test for this so the CI can catch such problems. The next commit will contain the fix.
* | | Check input file for existance. Closes #697.Jussi Pakkanen2016-08-211-1/+4
| | |
* | | Merge pull request #685 from ximion/masterJussi Pakkanen2016-08-2132-5/+537
|\ \ \ | | | | | | | | Implement D support
| * | | interpreter: Rename get_unittest_flag() to unittest_args()Matthias Klumpp2016-08-212-7/+7
| | | |
| * | | trivial: Use stringlistifyMatthias Klumpp2016-08-211-4/+2
| | | |
| * | | Simplify D compiler argument translationMatthias Klumpp2016-08-212-67/+32
| | | |
| * | | Split D library test into static/shared testsMatthias Klumpp2016-08-2122-19/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to disable the shared library test if the GNU D compiler is detected. This is useful, because gdc can not yet build proper shared libraries. We also add a new test here which tests versioning of D shared libraries.
| * | | Allow build definitions to retrieve the unittest flag of a D compilerMatthias Klumpp2016-08-205-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | D allows programmers to define their tests alongside the actual code in a unittest scope[1]. When compiled with a special flag, the compiler will build a binary containing the tests instead of the actual application. This is a strightforward and easy way to run tests and works well with Mesons test() command. Since using just one flag name to enable unittest mode would be too boring, compiler developers invented multiple ones. Adding this helper method makes it easy for people writing Meson build descriptions for D projects to enable unittestmode. [1]: https://dlang.org/spec/unittest.html
| * | | Add testcase for mixed C and D compilationMatthias Klumpp2016-08-194-0/+39
| | | |
| * | | Implement D supportMatthias Klumpp2016-08-1916-4/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the D programming language[1] to Meson. The following compilers are supported: * LDC * GDC * DMD [1]: http://dlang.org/