aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-17Make .extract_objects() work correctly as an input to custom_targetRachel Mant7-7/+49
2019-08-17avoid cmake syntax error due to "\" path separators on windowsNorbert Nemec1-0/+6
2019-08-17Only iterate over existing libdirs.Jussi Pakkanen1-2/+6
2019-08-17gnome: Handle overriden g-ir-scannerThibault Saunier2-3/+13
When g-ir-scanner is overriden, we can't call it at configure time but we know what options are avalaible (as it started using meson after checked options where added) so do not try to call it to retrieve the version as it will fail. Also see https://github.com/mesonbuild/meson/issues/3442
2019-08-15expand tilde when looking up libraries -Dfoo=~/mylibMichael Hirsch, Ph.D1-3/+7
It is often desirable to use ~ for home directory in -D compilation args. Why the transform to pathlib.Path and back to str? Because this is one of many places where the list(map(str,..))) will be eliminated upon Python 3.6 being minimum Meson Python requirement.
2019-08-13Update vim syntax files link in 0.37 release notes [skip ci]Nirbheek Chauhan1-1/+1
2019-08-13Revert "gnome: Use find_program() to get glib-compile-resources"Xavier Claessens1-5/+4
This reverts commit 0ab3d97566e8876532ecaf31b948a9ae3337b564.
2019-08-12gnome: Use find_program() to get glib-compile-resourcesXavier Claessens1-4/+5
GLib does not currently use override_find_program() for this tool because it is compiled and would not work in cross build. But this prepares Meson for when/if GLib will rewrite it in Python. See https://gitlab.gnome.org/GNOME/glib/issues/1859.
2019-08-12Put native file before cross file in options listJohn Ericson2-5/+5
I think this makes more sense by matching how build comes before host. Native builds are also more common than cross builds.
2019-08-12Add is_disabler functionJames Hilliard15-1/+149
This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2019-08-11Print only host platform info in some cases during native buildsJussi Pakkanen2-9/+15
Build and target info is confusing in that case. However still log that information, as it is useful in case something slips out of sync and needs to be debugged.
2019-08-10ninjabackend: Squish Coco supportAleksey Gurtovoy1-7/+17
2019-08-08docs: meson -> Meson in one placeJohn Ericson1-1/+1
2019-08-07dist: Add '-C' option and print better error messageXavier Claessens1-2/+9
It was not obvious that 'meson dist' must be run from build directory.
2019-08-06Made build. options alias basic ones when native building.Jussi Pakkanen7-14/+68
2019-08-06Made set_option kwargs named-only.Jussi Pakkanen2-3/+3
2019-08-06Do not print build and host settings when compiling natively.Jussi Pakkanen1-8/+14
2019-08-06Do not print build compiler info when not cross compiling. It is confusing.Jussi Pakkanen1-2/+3
2019-08-06Describe how to set up VS external project. [skip ci]Jussi Pakkanen2-0/+58
2019-08-05Update MSI creator script to newest VS on Win 7. [skip ci]Jussi Pakkanen1-4/+1
2019-08-05Add basic Webassembly support via Emscripten.Jussi Pakkanen14-1/+127
2019-08-04environment: simplify powerpc conditionalsJan Beich1-5/+3
2019-08-04environment: simplify CPU logic via hw.machine_arch on BSDsJan Beich1-13/+6
2019-08-04Make gettext targets no-ops if gettext is not installed. Closes: #821.Jussi Pakkanen2-2/+21
2019-08-04Fix cross compilation on OSXXavier Claessens1-2/+6
Do not set -Wl,-headerpad_max_install_names when compiling on OSX for another platform. It causes linker issues.
2019-08-04sourceset: add all_dependencies() methodMarc-André Lureau5-5/+33
'if_true' sources should be built with their dependencies, as illustrated by test case change. Ideally, I think we would want only the files with the dependencies to be built with the flags, but that would probably change the way sourceset are used.
2019-08-04sourceset: fix using FeatureCheck decoratorsMarc-André Lureau1-4/+5
The feature check facilities need to have access to subproject.
2019-08-04gtkdoc: Use find_program() to get gtkdoc toolsXavier Claessens2-14/+24
This will allow using gtk-doc as a subproject instead of having to install it on the system. It also has the side effect of failing at configuration time with a proper message if gtkdoc is not installed, instead of failing at build time with a python backtrace.
2019-08-03Improve support for crosscompiled CMake modulesMarcin Niestroj2-1/+12
There are two variables that CMake takes into account during find_package() in cross-compiled environments, which are: CMAKE_SYSROOT and CMAKE_FIND_ROOT_PATH. Those are used in cmFindCommon::RerootPaths() function, which blindly prepends all search paths with those specified via CMAKE_SYSROOT and CMAKE_FIND_ROOT_PATH. Extend search paths by using CMAKE_SYSROOT and CMAKE_FIND_ROOT_PATH in a similar way as CMake does, so we successfully find CMake packages information in cross-compiled environments.
2019-08-03Condense test directory names.Jussi Pakkanen1015-69/+69
2019-08-03Merge pull request #5644 from bonzini/meson-exe-cmdlineJussi Pakkanen5-135/+118
Show command line in `ninja -v` for `capture: true` custom targets and generators
2019-08-02Merge pull request #5749 from mensinda/cmGenExpJussi Pakkanen7-3/+210
CMake: Basic generator expression support
2019-08-02Make ARM compilers work on Linux.Jussi Pakkanen2-2/+37
2019-08-02add pylint Azure jobMichael Hirsch, Ph.D1-0/+15
2019-08-02add pylint config file. update Sider CI nameMichael Hirsch, Ph.D2-0/+9
2019-08-02remove unreachable codeMichael Hirsch, Ph.D2-4/+2
2019-08-02Add aravis to meson users (#5757) [skip-ci]Emmanuel Pacaud1-0/+1
Aravis project is now using meson as its build system.
2019-07-31coredata: Ignore directories when searching for machine filesDylan Baker1-6/+14
Otherwise having an output directory matching the name of the cross file in the current working directory will cause an error. This patch instead collects any invalid names and prints them along with the error message when no valid file can be found. Fixes #5640
2019-07-31OpenMP:stop searching when openmp headers are first foundMichael Hirsch, Ph.D1-2/+3
2019-07-31Allow kconfig to read from configure_file()Marc-André Lureau3-8/+12
At configure time, kconfig can read from configure_file(). "test cases/kconfig/4 load_config builddir/meson.build" was already showing a workaround, now it actually can take configure_file input directly.
2019-07-31cmake: added generator expression test caseDaniel Mensinger4-0/+75
2019-07-31cmake: Parse a subset of generator expressionsDaniel Mensinger3-3/+135
2019-07-31Merge pull request #5638 from mensinda/cmInterfaceJussi Pakkanen6-19/+173
CMake: Support INTERFACE libraries
2019-07-31Merge pull request #5733 from scivision/pgi_openmpJussi Pakkanen8-24/+52
PGI: correct Fortran so that Fortran run_project_tests.py pass
2019-07-31mintro: Fix crash related to the sources kwarg (fixes #5741)Daniel Mensinger3-4/+8
2019-07-30skip common/223 for PGI, as even 19.4 doesn't fully support C++17 as claimedMichael Hirsch, Ph.D1-0/+6
2019-07-30PGI: fix openmp for 190common testMichael Hirsch, Ph.D2-20/+20
since there is no pgc++ on Windows, we avoid invoking that in 190common
2019-07-30default fortran lib to static so windows can be testedMichael Hirsch, Ph.D1-1/+2
2019-07-30skip fortran dyamiclib tests on WindowsMichael Hirsch, Ph.D1-2/+4
2019-07-30OpenMP is intrinsic to PGIMichael Hirsch, Ph.D1-3/+10