aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-03Qt5-Module: add `name` option to rccMarkus Theil1-1/+1
This patch sets the --name option for files processed with rcc. It generates an additional initialization function, which can be used with static linking. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
2017-10-31Merge pull request #2562 from 1ace/fix/mesontestJussi Pakkanen4-9/+11
Remove references to `mesontest`
2017-10-31interpreter: Add warning functionPaulo Antonio Alvarez3-2/+26
2017-10-31mtest: print correct name in error messageEric Engestrom1-1/+1
2017-10-31man: remove references to `mesontest` in meson(1)Eric Engestrom1-2/+4
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31docs: remove references to `mesontest`Eric Engestrom2-6/+6
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31Added libwmf to the CI image.Jussi Pakkanen1-0/+1
2017-10-31Merge pull request #2551 from mesonbuild/fix2481Jussi Pakkanen9-6/+100
Evaluate subproject directory name correctly
2017-10-31Add LibWmf as a specified dependency, and associated tests.Félix Piédallu6-1/+69
2017-10-31namespace run_targets by subprojectMartin Kelly9-59/+64
Currently, run_target does not get namespaced for each subproject, unlike executable and others. This means that two subprojects sharing the same run_target name cause meson to crash. Fix this by moving the subproject namespacing logic from the BuildTarget class to the Target class.
2017-10-29Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keywordJussi Pakkanen6-11/+40
Qt5-Module: Add `moc_extra_arguments` keyword support.
2017-10-29Fixes the `kwargs` handling.Leif Middelschulte1-1/+1
As suggested by @jeandet. Details: https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
2017-10-29run_command: add command and files as build dependenciesScott D Phillips1-0/+11
2017-10-29Renamed test dir to avoid duplicate numbers.Jussi Pakkanen8-0/+0
2017-10-29Evaluate subproject path correctly. Closes #2481.Jussi Pakkanen1-6/+15
2017-10-29add failing test case for overly-strict sandbox violationAdam C. Foltzer8-0/+85
2017-10-29Fix boost link cmd line when compiler.find_library returns None, ↵Goncalo Carvalho1-3/+4
self.request_modules doesn't have 'boost_' prefix but lib_modules is keyed on 'boost_*'
2017-10-29Check that link_with arguments in declare_dependency are not external ↵Jussi Pakkanen1-0/+4
dependencies.
2017-10-29Merge pull request #2217 from mesonbuild/gcc7Jussi Pakkanen6-14/+29
Use GCC 7 for cross compilation tests.
2017-10-29Raise InvalidArguments when trying to link against stringsLyude Paul3-0/+5
With executable(), if the link_with argument has a string as one of it's elements, meson ends up throwing an AttributeError exception: ... File "/home/lyudess/Projects/meson/mesonbuild/build.py", line 868, in link if not t.is_linkable_target(): AttributeError: 'str' object has no attribute 'is_linkable_target' Which is not very helpful in figuring out where exactly the project is trying to link against a string instead of an actual link target. So, fix this by verifying in BuildTarget.link() that each given target is actually a Target object and not something else. Additionally, add a simple test case for this in failing tests. At the moment, this test case just passes unconditionally due to meson throwing the AttributeError exception and failing as expected. However, this test case will be useful eventually if we ever end up making failing tests more strict about failing gracefully (per advice of QuLogic).
2017-10-29Do not run MPI Fortran tests on Ubuntu Artful.Jussi Pakkanen2-1/+18
2017-10-28Use GCC 7 for cross compilation tests.Jussi Pakkanen4-13/+11
2017-10-28Test GDC shared libraries only from version 8, since 7 is broken in Debian ↵Jussi Pakkanen3-6/+6
at least.
2017-10-27documentation: adds new keyword usage to the given example.Leif Middelschulte1-1/+3
2017-10-27adds "since"-note for the new keyword to the documentationLeif Middelschulte1-1/+1
2017-10-27updates the documentation to follow the list-style to explain arguments.Leif Middelschulte1-4/+7
As per to @jon-turney's and @jpakanne's suggestion [0], this commit changes the "prosa" documentation to a list-style one. [0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
2017-10-26docs: add pkgconfig to cross file exampleMike Gilbert1-0/+1
2017-10-26removes unnecessary code as suggested by @jeandetLeif Middelschulte1-5/+1
Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
2017-10-26removes unnecessary if/else-statement as suggested by @jeandetLeif Middelschulte1-4/+1
Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
2017-10-26fixes the extended test suite to work with qt5 **and** qt4.Leif Middelschulte2-5/+11
2017-10-25extends test case to fail if macro is undefined durcing preprocessingLeif Middelschulte3-0/+8
2017-10-25Qt5-Module: Add `moc_extra_arguments` keyword support.Leif Middelschulte3-10/+27
This commit adds support for an additional `moc_extra_arguments` keyword. It becomes especially handy, when `moc`-ed sources conditionally provide `slots`, depending on compile time macros (i.e. defines).
2017-10-25Boost: Add Python librariesNiklas Claesson2-0/+7
Fixes: #2507
2017-10-25Add a bunch of tests to sandboxing.Jussi Pakkanen13-0/+56
2017-10-25gnome: Fix compile_schemas() using path sep in target namePatrick Griffis1-1/+1
2017-10-24Because people are very creative in working around limitations based on good ↵Jussi Pakkanen1-1/+6
faith.
2017-10-24Fix inconsistent header levelsJay Sherby1-2/+2
2017-10-24Merge pull request #2464 from jeandet/Qt4_Qt5_factorizationJussi Pakkanen3-268/+146
Factorized Qt4 and Qt5 modules in one base class.
2017-10-24docs: Fix date being interpreted as an ordered list itemLuis Menina1-2/+2
2017-10-23Merge pull request #2516 from dcbaker/submit/llvm-fix-lib-pathJussi Pakkanen3-2/+31
LLVM: Don't add -L<system path> to link args
2017-10-23Update references from mesonconf to meson configureKevin Anderson5-8/+8
Fixes #2372
2017-10-23docs: Remove unnecessary trailing whitespacesLuis Menina5-14/+14
2017-10-23docs: Markdown headers don't need trailing hash signsLuis Menina8-25/+25
This is a cosmetic change because github seems to interpret those correctly. Nonetheless, it adds unnecessary noise and makes people modifying the pages think it might be needed. See syntax guide at https://guides.github.com/features/mastering-markdown/
2017-10-23docs: Fix markdown in 'design rationale' pageLuis Menina1-8/+8
2017-10-23Fix invalid example in Syntax.mdJonas Platte1-1/+1
2017-10-21llvm: strip system libraries from link argumentsDylan Baker1-2/+2
v2: - use clang and gcc's -print-system-libs option as suggested by Daniel Stone. Fixes #2437
2017-10-21dependencies: Add function to strip system -L pathsDylan Baker2-0/+29
PkgConfig automatically removes -L paths from libdirs if the -L points to a system path. It knows what these paths are by taking this as a configure option at build time, which the distro maintainers set appropriately and everything works. This allows one to have two versions of a package installed, a system and non system, and then override PKG_CONFIG_PATH to use the non system version, and everything just works. For non-pkgconfig dependencies (such as LLVM) meson needs to strip these themselves to avoid breaking the above use case.
2017-10-19Error for Libs in package_config functiongetzze1-2/+4
Without specifying a custom install directory string, get_custom_install_dir() returns True. So for the `Libs` entry I was getting this: Libs: -L${prefix}/True -lfoo Now it behaves as expected: Libs: -L${libdir} -lfoo
2017-10-19MSI: Fix regenerate with visual studioNiklas Claesson1-3/+5
Fixes #2461
2017-10-19Do not allow escaping the subprojects directory.Narendra Vardi1-0/+2
Fixes #2306