summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Add LibWmf as a specified dependency, and associated tests.Félix Piédallu2017-10-316-1/+69
| | | | |
* | | | | namespace run_targets by subprojectMartin Kelly2017-10-319-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.
* | | | | Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keywordJussi Pakkanen2017-10-296-11/+40
|\ \ \ \ \ | | | | | | | | | | | | Qt5-Module: Add `moc_extra_arguments` keyword support.
| * | | | | Fixes the `kwargs` handling.Leif Middelschulte2017-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by @jeandet. Details: https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
| * | | | | documentation: adds new keyword usage to the given example.Leif Middelschulte2017-10-271-1/+3
| | | | | |
| * | | | | adds "since"-note for the new keyword to the documentationLeif Middelschulte2017-10-271-1/+1
| | | | | |
| * | | | | updates the documentation to follow the list-style to explain arguments.Leif Middelschulte2017-10-271-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
| * | | | | removes unnecessary code as suggested by @jeandetLeif Middelschulte2017-10-261-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
| * | | | | removes unnecessary if/else-statement as suggested by @jeandetLeif Middelschulte2017-10-261-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
| * | | | | fixes the extended test suite to work with qt5 **and** qt4.Leif Middelschulte2017-10-262-5/+11
| | | | | |
| * | | | | extends test case to fail if macro is undefined durcing preprocessingLeif Middelschulte2017-10-253-0/+8
| | | | | |
| * | | | | Qt5-Module: Add `moc_extra_arguments` keyword support.Leif Middelschulte2017-10-253-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).
* | | | | | run_command: add command and files as build dependenciesScott D Phillips2017-10-291-0/+11
| | | | | |
* | | | | | Fix boost link cmd line when compiler.find_library returns None, ↵Goncalo Carvalho2017-10-291-3/+4
| |/ / / / |/| | | | | | | | | | | | | | self.request_modules doesn't have 'boost_' prefix but lib_modules is keyed on 'boost_*'
* | | | | Check that link_with arguments in declare_dependency are not external ↵Jussi Pakkanen2017-10-291-0/+4
| | | | | | | | | | | | | | | | | | | | dependencies.
* | | | | Merge pull request #2217 from mesonbuild/gcc7Jussi Pakkanen2017-10-296-14/+29
|\ \ \ \ \ | | | | | | | | | | | | Use GCC 7 for cross compilation tests.
| * | | | | Do not run MPI Fortran tests on Ubuntu Artful.gcc7Jussi Pakkanen2017-10-292-1/+18
| | | | | |
| * | | | | Use GCC 7 for cross compilation tests.Jussi Pakkanen2017-10-284-13/+11
| | | | | |
* | | | | | Raise InvalidArguments when trying to link against stringsLyude Paul2017-10-293-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).
* | | | | Test GDC shared libraries only from version 8, since 7 is broken in Debian ↵Jussi Pakkanen2017-10-283-6/+6
| |_|/ / |/| | | | | | | | | | | at least.
* | | | docs: add pkgconfig to cross file exampleMike Gilbert2017-10-261-0/+1
|/ / /
* | | Boost: Add Python librariesNiklas Claesson2017-10-252-0/+7
| | | | | | | | | | | | Fixes: #2507
* | | Add a bunch of tests to sandboxing.Jussi Pakkanen2017-10-2513-0/+56
| | |
* | | gnome: Fix compile_schemas() using path sep in target namePatrick Griffis2017-10-251-1/+1
|/ /
* | Because people are very creative in working around limitations based on good ↵Jussi Pakkanen2017-10-241-1/+6
| | | | | | | | faith.
* | Fix inconsistent header levelsJay Sherby2017-10-241-2/+2
| |
* | Merge pull request #2464 from jeandet/Qt4_Qt5_factorizationJussi Pakkanen2017-10-243-268/+146
|\ \ | | | | | | Factorized Qt4 and Qt5 modules in one base class.
| * | Factorized Qt compilers version probing.Alexis Jeandet2017-10-121-44/+17
| | | | | | | | | | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
| * | Factorized Qt4 and Qt5 modules in one base class.Alexis Jeandet2017-10-103-268/+173
| | | | | | | | | | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* | | docs: Fix date being interpreted as an ordered list itemLuis Menina2017-10-241-2/+2
| | |
* | | Merge pull request #2516 from dcbaker/submit/llvm-fix-lib-pathJussi Pakkanen2017-10-233-2/+31
|\ \ \ | | | | | | | | LLVM: Don't add -L<system path> to link args
| * | | llvm: strip system libraries from link argumentsDylan Baker2017-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | v2: - use clang and gcc's -print-system-libs option as suggested by Daniel Stone. Fixes #2437
| * | | dependencies: Add function to strip system -L pathsDylan Baker2017-10-212-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.
* | | | Update references from mesonconf to meson configureKevin Anderson2017-10-235-8/+8
| | | | | | | | | | | | | | | | Fixes #2372
* | | | docs: Remove unnecessary trailing whitespacesLuis Menina2017-10-235-14/+14
| | | |
* | | | docs: Markdown headers don't need trailing hash signsLuis Menina2017-10-238-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/
* | | | docs: Fix markdown in 'design rationale' pageLuis Menina2017-10-231-8/+8
| | | |
* | | | Fix invalid example in Syntax.mdJonas Platte2017-10-231-1/+1
|/ / /
* | | Error for Libs in package_config functiongetzze2017-10-191-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
* | | MSI: Fix regenerate with visual studioNiklas Claesson2017-10-191-3/+5
| | | | | | | | | | | | Fixes #2461
* | | Do not allow escaping the subprojects directory.Narendra Vardi2017-10-191-0/+2
| | | | | | | | | | | | Fixes #2306
* | | Allow to give source files to GtkDoc by respecting the File classCorentin Noël2017-10-181-1/+1
| | |
* | | fix all subproject using wrap-file brokenliugang2017-10-147-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subproject using wrap-file is broken since commit (68bd64c Prevent projects from directly grabbing files from other subprojects. ) subproject with wrap-file usually have version number after name - **sproj_name** is `zlib-1.2.8` according to `directory = zlib-1.2.8` of zlib.wrap - but **self.subproject** `zlib`
* | | Arguments, not flags.Jussi Pakkanen2017-10-131-1/+1
| | |
* | | Boost: Jamfile has two syntaxes for boost librariesNiklas Claesson2017-10-122-0/+5
| | | | | | | | | | | | Fixes #2456
* | | Merge pull request #2477 from 1ace/fix/man-mesonconfJussi Pakkanen2017-10-122-5/+7
|\ \ \ | | | | | | | | Couple fixes for the man pages
| * | | man: fix copy/paste typo in mesonintrospect(1)Eric Engestrom2017-10-111-1/+1
| | | |
| * | | man: remove references to `mesonconf` in meson(1)Eric Engestrom2017-10-111-4/+6
| |/ / | | | | | | | | | `mesonconf` is deprecated, and shouldn't be suggested to users anymore.
* | | Link to MesonPorting is not rendered as URLCarlos Garcés2017-10-121-1/+1
| | |
* | | rpm: print test logs on failureZbigniew Jędrzejewski-Szmek2017-10-121-1/+6
| | | | | | | | | | | | | | | References: https://bugzilla.redhat.com/show_bug.cgi?id=1500248 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>