aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08Remove all files outside the source directory from the coverage reportHenk van der Laan1-10/+7
Cuurently, a set of directories is filtered out from the output based on the location of system includes on most common linux distro's. This commit does away with the blacklist and implements a whitelist approach: only the files inside the source root are shown.
2018-02-08Add get_pkgconfig_variable(default:)Jon Turney4-3/+10
Also use that to squelch the warning for internal uses which handle the variable missing case (just gnome at the moment) A follow up to PR #2914
2018-02-08Add wlroots to Users.mdAmit D1-0/+1
2018-02-08Add style guide documentation.Jussi Pakkanen2-0/+37
2018-02-08User options can "yield to" a user option of the same name in superproject. ↵Jussi Pakkanen9-25/+90
Closes ##2853.
2018-02-07Expose integer options to build option files.Jussi Pakkanen7-1/+38
2018-02-05Fix install_subdir() installation messageAleksey Filippov1-5/+5
Print full destination path in 'Installing subdir ...' message, including DESTDIR, consistent with other installation functions. Use separate dst_dir and full_dst_dir variables to avoid mixing up the order in the future and make code more readable. Closes #3006.
2018-02-05Merge pull request #3010 from sarum9in/elide_directoryJussi Pakkanen13-6/+76
Add strip_directory keyword for install_subdir() function
2018-02-05Add support for hex int literals.Jussi Pakkanen4-0/+21
2018-02-05Use text keyword for directory example code blocksAleksey Filippov1-5/+5
2018-02-05Add strip_directory=true example for multi-component pathAleksey Filippov1-0/+6
2018-02-05Fix misprint in strip_directory exampleAleksey Filippov1-1/+1
2018-02-05Clarify multi-component source directory behavior of install_subdir()Aleksey Filippov1-0/+8
2018-02-05Rename install_subdir() option elide_directory to strip_directoryAleksey Filippov7-22/+22
2018-02-05Add elide_directory keyword for install_subdir() functionAleksey Filippov13-6/+62
If elide_directory=true install_subdir() installs directory contents instead of directory itself, eliding name of the source directory. Closes #2869.
2018-02-05Fix boost test on cygwinJon Turney1-0/+2
With the headers from cygwin-devel-2.10.0-1, getpagesize() is not prototyped unless an appropriate feature test macro is defined. Future work: investigate if this needs to be defined by BoostDependency.get_compile_args() or in Boost.
2018-02-04Fix run target documentation. Closes #1793.Jussi Pakkanen1-2/+5
2018-02-04Don't version shared libraries for AndroidRobert Bragg2-20/+47
Android's loader doesn't handle shared library versioning so this avoids adding a suffix to the filename or soname for Android hosts.
2018-02-04Merge pull request #2938 from acfoltzer/rust-cross-mergeJussi Pakkanen7-20/+63
Add cross-compilation support for `rustc`
2018-02-04Refactor and simplify install_subdir()Aleksey Filippov3-31/+46
- Pass exclude_files and exclude_directories relative to src_dir, same as specified by user and documented in public install_subdir(). - Make do_copydir() interface similar to do_copyfile(): install src_dir contents to dst_dir. - Remove src_prefix/src_dir code, it adds confusion and duplicates arguments. Use single src_dir parameter instead. - Make callers specify that src_dir contents should be installed under dst_dir/basename(src_dir) if necessary. - Use os.path.relpath() instead of string manipulations on paths. - Add documentation to do_copydir(): specify types and add usage example.
2018-02-02Merge pull request #2228 from mesonbuild/icestormJussi Pakkanen8-0/+174
IceStorm FPGA experiment
2018-02-02Fix Rust shared polyglot test case for cross-compilationAdam C. Foltzer1-1/+1
The crate-type in this case should have been `cdylib` since it's linking via C, rather than the default `dylib` that is meant for linking via `rustc`.
2018-02-02Added dpdk to the list of users.Jussi Pakkanen1-0/+1
2018-02-02Added documentation to IceStorm module.Jussi Pakkanen3-0/+40
2018-02-02Created an unstable module for IceStorm projects.Jussi Pakkanen3-32/+92
2018-02-02Created sample project for IceStorm FPGA development.Jussi Pakkanen3-0/+74
2018-02-02Updated the video page.Jussi Pakkanen1-25/+19
2018-02-02Only quote colons on build lines. Closes #2961.Jussi Pakkanen1-6/+10
2018-02-01Merge pull request #2995 from rhd/fix-2281Jussi Pakkanen1-2/+8
2018-02-01Comparing objects of different type prints a warning. Closes #2870.Jussi Pakkanen2-7/+9
2018-01-31add meson.project_license() builtinMartin Kelly5-1/+26
This Fixes #2941.
2018-01-31Add PipeWire to the list of users. Closes #2986.Jussi Pakkanen1-0/+1
2018-01-31Merge pull request #2964 from bredelings/clean-boostJussi Pakkanen1-43/+47
2018-01-31Make checks a bit more robust against empty entries.Jussi Pakkanen2-0/+6
2018-01-31docs: Fix some HTML that leaked into the markdownAdam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-30don't use bare exceptRobert Doolittle1-3/+0
2018-01-30mtest: catch ctrl-c and properly kill the child processes. Fixes #2281Robert Doolittle1-2/+11
2018-01-29Attempt to make Unix and Windows use the same code for get_link_args( ).Benjamin Redelings1-17/+5
2018-01-29Update verbose comments.Benjamin Redelings1-3/+6
2018-01-29Restore comments.Benjamin Redelings1-0/+4
2018-01-29Add cross-compilation support for `rustc`Adam C. Foltzer6-19/+62
This patch is largely modeled on the relatively-straightforward code for Fortran cross-compilation, so there might be some intricacies missing.
2018-01-30Use os.path: basename() and dirname() instead of split()Aleksey Filippov18-50/+50
According to Python documentation[1] dirname and basename are defined as follows: os.path.dirname() = os.path.split()[0] os.path.basename() = os.path.split()[1] For the purpose of better readability split() is replaced by appropriate function if only one part of returned tuple is used. [1]: https://docs.python.org/3/library/os.path.html#os.path.split
2018-01-30run_project_tests: Remove workaround for missing ↵Christoph Reiter1-50/+2
concurrent.futures.ProcessPoolExecutor support This removes the workaround code added in https://github.com/mesonbuild/meson/commit/52e1b0a3c909 The bug in the MSYS2 Python3 build has been fixed for some time now, see https://github.com/Alexpux/MINGW-packages/pull/2619 The original commit noted that this might be helpful for OpenBSD, but that has sem_open support since version 5.5 released 4 years ago: https://www.openbsd.org/55.html
2018-01-30Report warning/error locations in a format IDEs may already know how to parseJon Turney6-15/+19
Examples: meson.build:2:0: ERROR: Dependency is both required and not-found meson.build:4: WARNING: Keyword argument "link_with" defined multiple times. These are already matched by the default compilation-error-regexp-alist in emacs. Also: Don't start 'red' markup until after the \n before an error Unabsorb full-stop at end of warning with location from mlog.warning() Update warning_location test
2018-01-30docs: Add 'outlier' to usersSami Kerola1-0/+1
This is a very small hello world style project, that I hope is useful example for people who are getting started with meson.
2018-01-30dependencies: Allow setting config-tool binaries in cross fileDylan Baker2-1/+27
This allows for much easier cross compiler configuration for tools like LLVM. This patch does honor the 'native' keyword, and falls back to searching PATH if the binary name is not specified. I'd be fine with either removing the fallback behavior, or marking it as deprecated and removing it later. Fixes #2921
2018-01-30Echo coverage report uris after generation. Fixes #2805.Félix Piédallu1-1/+10
2018-01-30Print warning when linker arguments are passed to has_argumentTing-Wei Lan2-0/+15
has_argument and other similar methods of compiler objects only support checking compiler flags. If they are used to check linker flags, the results are very likely to be wrong and developers should be warned.
2018-01-30dump_conf_header should rewrite file only if modified (just like ↵Salamandar1-1/+3
do_conf_file) (#2952)
2018-01-30Taisei Project uses MesonAndrei Alexeyev1-0/+1