aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-27Put subproject options in their own submenus.optiontreeJussi Pakkanen1-8/+45
2016-08-27Expose all builtin options.Jussi Pakkanen1-19/+7
2016-08-27Allow creation of tree structured menus.Jussi Pakkanen6-45/+126
2016-08-27Add a new compiler object method: has_members (#723)Nirbheek Chauhan3-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)
2016-08-27Merge pull request #696 from mesonbuild/depfileJussi Pakkanen8-11/+116
Add support for dependency files in custom targets.
2016-08-27Flatten isinstance calls. (#715)Elliott Sales de Andrade7-46/+24
That is, isinstance(x, y) or isinstance(x, z) can be flattened with a tuple to isinstance(x, (y, z)).
2016-08-27Check for embedded @OUTPUT@s in commands.Jussi Pakkanen1-3/+4
2016-08-27Use global id instead of local for hg tag. (#710)Elliott Sales de Andrade1-1/+1
2016-08-27Merge pull request #712 from QuLogic/capturing-custom-targetJussi Pakkanen9-11/+70
Allow capturing command output of a custom target.
2016-08-26Echo stderr from captured command.Elliott Sales de Andrade1-0/+2
This helps with debugging if the command fails.
2016-08-26Don't allow @OUTPUT@ when capturing output.Elliott Sales de Andrade1-0/+3
2016-08-26Add myself to authors.txt.Elliott Sales de Andrade1-0/+1
2016-08-26Allow capturing command output of a custom target.Elliott Sales de Andrade8-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.
2016-08-26Accept string exe with Backend.serialise_executable.Elliott Sales de Andrade1-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.
2016-08-25macros.meson: override all supported options (#717)Igor Gnatenko1-1/+10
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-08-25Do not error out if git pull fails on subprojects. Closes #720.Jussi Pakkanen1-1/+4
2016-08-24Merge pull request #700 from mesonbuild/sysconfdirJussi Pakkanen2-0/+6
Added sysconfdir option. Closes #694.
2016-08-24Merge pull request #709 from vinszent/masterIgor Gnatenko1-2/+2
'name' needs to be 'self.name' in DependencyException
2016-08-23'name' needs to be 'self.name' in DependencyExceptionippytraxx1-2/+2
2016-08-22Make D compilers return colored output by defaultMatthias Klumpp1-0/+18
2016-08-22Don't automatically override the -L flag of D compilersMatthias Klumpp1-1/+16
Works around / resolves #702.
2016-08-21Change default and add explanatory comment for why we do that.Jussi Pakkanen2-2/+6
2016-08-21Added sysconfdir option. Closes #694.Jussi Pakkanen3-1/+3
2016-08-21Consistent kwarg popping.Jussi Pakkanen1-4/+2
2016-08-21Add extra_args kwarg to glib-compile-resources. Closes #698.Jussi Pakkanen1-0/+2
2016-08-21tests: Don't fail wxwidgets test if wxwidgets is not installed (#639)Nirbheek Chauhan1-4/+5
The widgets pull in lots of deprecated libraries, so don't require it
2016-08-21Merge pull request #680 from centricular/osx-dylib-soversionJussi Pakkanen4-13/+38
Add a test to find libfoo.X.dylib via -lfoo
2016-08-21Check input file for existance. Closes #697.Jussi Pakkanen1-1/+4
2016-08-21Merge pull request #685 from ximion/masterJussi Pakkanen32-5/+537
Implement D support
2016-08-21interpreter: Rename get_unittest_flag() to unittest_args()Matthias Klumpp2-7/+7
2016-08-21trivial: Use stringlistifyMatthias Klumpp1-4/+2
2016-08-21Simplify D compiler argument translationMatthias Klumpp2-67/+32
2016-08-21Split D library test into static/shared testsMatthias Klumpp22-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.
2016-08-21Add depfile support to generators.Jussi Pakkanen4-8/+62
2016-08-20No fpic on Windows C++. Closes #690.Jussi Pakkanen1-0/+5
2016-08-20Add support for dependency files in custom targets.Jussi Pakkanen6-3/+54
2016-08-20Allow build definitions to retrieve the unittest flag of a D compilerMatthias Klumpp5-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
2016-08-19Add testcase for mixed C and D compilationMatthias Klumpp4-0/+39
2016-08-19Implement D supportMatthias Klumpp16-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/
2016-08-18Fix URL to Ninja projectAleksander Piotrowski1-1/+1
2016-08-18shared_library: Add vs_module_defs to link_dependsNirbheek Chauhan1-0/+2
With this, if the module definitions file is edited, the shared library and all reverse-dependencies will be re-linked. Fixes #643
2016-08-16Don't add the soversion to the dylib filename on OS XNirbheek Chauhan1-6/+4
Doing so messes up library search with -lfoo. See: https://github.com/mesonbuild/meson/pull/680
2016-08-16Add a test to find libfoo.X.dylib via -lfooNirbheek Chauhan3-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.
2016-08-15add .mailmap (#679)Igor Gnatenko1-0/+6
to have better short-overview from git-shortlog(1). Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-08-15BuildTarget: Print a better message when passing GeneratedList to 'objects' ↵Nirbheek Chauhan1-2/+10
(#681)
2016-08-15Merge pull request #673 from centricular/inherited-env-flagsJussi Pakkanen3-33/+55
Two changes to how we inherit cflags/linkflags from the environment
2016-08-14Add missing name.Jussi Pakkanen1-0/+1
2016-08-14Merge pull request #629 from wtay/masterIgor Gnatenko1-3/+1
gnome.py: typelib files should be installed in libdir
2016-08-14Use our config template rather than Autoconf's.Jussi Pakkanen1-1/+1
2016-08-13A few more checks for ac converter tool.Jussi Pakkanen1-0/+5