aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-02Remove cross_info; cross file is parsed up front and discardedJohn Ericson14-287/+333
2019-01-02Get rid of `need_cross_compiler`John Ericson4-23/+4
Building a cross compiler (`build == host != target`) is not cross compiling. As such, it doesn't make sense to handle it under `is_cross_build`. (N.B. Building a standard library for a cross compiler would require cross compiling, but Meson has support to do such a thing as part of a compiler build currently.)
2019-01-02Can use plain strings for include_directories.Jussi Pakkanen5-4/+40
2019-01-02Handle strings in cross file args. Closes #4671.Jussi Pakkanen3-12/+6
2019-01-02Avoid exception looking for python on windows if the launcher (py.exe) is ↵guruDanny671-0/+4
not installed
2019-01-02vs: respect 'b_pch' optionNicolas Schneider6-14/+38
Fixes #4681.
2019-01-01print 'Nothing to install.' if nothing was installedNicolas Schneider1-0/+10
Fixes #882.
2019-01-01fail configuration if PCH files do not existNicolas Schneider3-0/+9
Previously, the configuration worked fine, but the compiler raised an error. Now, we explicitly check for the existence of files and print a useful error message if they do not exist.
2019-01-01Merge pull request #4564 from mensinda/introBuildOptsJussi Pakkanen17-121/+383
mintro: Introspect --buildoptions without a build directory
2019-01-01Updated doc [skip ci]Daniel Mensinger1-1/+3
2019-01-01compile pch .h file as c++-header when building a c++ targetNicolas Schneider1-0/+4
Fixes #3641.
2018-12-31docs: Note --warnlevel instead of --warning_levelTingPing1-0/+2
2018-12-31docs: Change warnlevel option to warning_levelTingPing1-1/+1
2018-12-29Tests and docsDaniel Mensinger11-1/+66
2018-12-29Do not require build dir for introspectionDaniel Mensinger1-4/+160
2018-12-29Disable mlog and don't require build directory for environmentDaniel Mensinger2-18/+37
2018-12-29Introspection refactoringDaniel Mensinger4-98/+118
2018-12-30Better error message for rpath test.Jussi Pakkanen1-1/+1
2018-12-30Default libdir is "lib" when cross compiling. Closes #2535.Jussi Pakkanen3-0/+28
2018-12-30Print warning if using "default_options" without a "fallback".Jussi Pakkanen1-0/+2
2018-12-30Add a clang-format target.Jussi Pakkanen8-2/+143
2018-12-29Merge pull request #4672 from xclaesse/find-library-headersJussi Pakkanen5-39/+120
find_library: Add 'has_headers' kwarg
2018-12-29Merge pull request #4451 from jon-turney/simplify-x86-msvc-testJussi Pakkanen3-49/+39
Simplify x86 msvc test
2018-12-27find_library: Add 'has_headers' kwargXavier Claessens5-34/+86
A library without its headers is often useless, so it is common to check them together.
2018-12-27release notes: document how to pass native files [skip ci]Nirbheek Chauhan1-2/+3
2018-12-24Add 'required' kwarg in header check functionsXavier Claessens2-8/+37
Closes: #3940
2018-12-22Can specify a string to print when dep not found. Closes #2407.Jussi Pakkanen4-2/+62
2018-12-22Reformat long lines.Jussi Pakkanen1-4/+48
2018-12-22docs: Fix href in Pkgconfig module [skip ci]lzutao1-2/+2
2018-12-21Merge pull request #4573 from jon-turney/msys2-clangJussi Pakkanen9-19/+47
More clang for Windows support
2018-12-20mintro: Bug fix for determine_installed_path for multiple target outputsDaniel Mensinger2-10/+37
2018-12-20Factor out more option iteratingJohn Ericson2-5/+7
2018-12-20msetup: Fix callig meson --wipe inside a build directoryDylan Baker3-6/+41
This seems to be related to deleting the current working directory. Simply deleting all of the trees inside the build directory instead seems to fix it. This only appears with some combination of generated targets, running the test case against say "1 trivial" doesn't show the bug. See this mesa bug: https://bugs.freedesktop.org/show_bug.cgi?id=109071
2018-12-20README: Remove deprecated Appveyor badge [skip ci]lzutao1-1/+0
2018-12-19Added unit testDaniel Mensinger1-0/+17
2018-12-19Fixed subprojects build infoDaniel Mensinger1-1/+1
2018-12-19docs: make clearer difference between using and building libraries in Vala ↵Alistair Thomas1-32/+219
[skip ci]
2018-12-19dependencies/ui: Fix qmake detection when not using cross or native fileDylan Baker1-3/+1
Fixes #4641
2018-12-19dependencies/ui: Fix Qt pkg-config detection on MacOSDylan Baker1-1/+9
Since 0.46.1 pkg-config detection has been broken using the qt from homebrew, due to a bug in homebrew (I think). Tested with qt 5.12.0 on Mojave.
2018-12-19msetup: Give a nice error message if cmd_line.txt cannot be readDylan Baker1-2/+7
As would happen if someone tried to manually call meson --wipe on a directory configured with a version < 0.49.0
2018-12-19Allow fallback in nodownload modeXavier Claessens1-1/+1
It is possible that the subproject has been downloaded already, in that case there is no reason to not use it. If the subproject has not been downlaoded already it will fail do_subproject().
2018-12-19dependencies/ui: Don't require lrelease for qtDylan Baker1-1/+1
We previously didn't require it so we shouldn't silently start doing so. Fixes #4654
2018-12-19docs: Add warning about not using join_paths() with build targets [skip ci]Dylan Baker2-0/+11
This comes up now and again when people try do do something like: meson.build: ```meson my_sources = ['foo.c'] subdir('subdir') executable('foo', my_sources) ``` subdir/meson.build: ```meson my_sources += ['bar.c'] ```
2018-12-18Factor out iterator over options dictionariesJohn Ericson1-14/+15
Otherwise it's easy to forget one. In fact we did forget one: `backend_options` in `validate_option_value`.
2018-12-18[skip ci] Options as `b_ndebug` can also be set in meson.buildKonstantin Kharlamov1-1/+2
2018-12-17Document dependency().name() added in 0.48 [skip ci]Nirbheek Chauhan2-0/+25
Closes https://github.com/mesonbuild/meson/issues/3351
2018-12-16gi: Handle new --source-top-dirs argumentThibault Saunier1-10/+15
This allows coherent relative paths in the gir "source-position"
2018-12-16coverage: Also remove source_root prefixesWilliam A. Kennington III1-0/+1
The code our projects care about verifying coverage for mostly lives in the source_root with the exception of the generated source files in build_root. This change cleans up the output so we don't have prefixed paths on our source files anymore.
2018-12-16Merge pull request #4616 from dcbaker/python-module-pathJussi Pakkanen26-44/+445
add path() method to python module
2018-12-16Fix typo in Native-environments.md [skip ci]Luca Weiss1-1/+1