aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-06fs: add methods as_posix, is_absoluteMichael Hirsch, Ph.D3-12/+101
fs: make exception specify method name fs: actually raise exceptions fs: resolve path e.g. /opt/foo/.. => /opt/foo fs: correct behavior of is_symlink
2020-02-06docs: explain the purpose of order-only deps for generated files [skip ci]Marc Herbert1-5/+6
The documentation of "order-only" dependencies is limited and their various purposes are especially not clear. See issue #6391 for a recent example, search the internet for many more. So mention the particular purpose here while making the documentation barely longer.
2020-02-05Merge pull request #6161 from scivision/native_propertyJussi Pakkanen10-15/+111
add meson.get_external_property()
2020-02-05depdenencies/qt: Second attempt to allow qt --no-framework on MacOS.nikolayp1-4/+12
Sometimes qt can be installed not as framework on MacOS. One way to achieve this behaviour is to use conan package manager. Allow falling back to simple library search if framework was not found. In addition, allow to find the debug version of qt debug libraries which have "_debug" suffix added to them. Fixes #5091
2020-02-05Merge pull request #6589 from dcbaker/wx-widgets-staticJussi Pakkanen1-5/+21
Wx widgets static
2020-02-05Fix import dependency from dubMax1-0/+8
2020-02-05docMichael Hirsch, Ph.D3-5/+5
2020-02-05ci: properly handle cross/native casesMichael Hirsch, Ph.D2-2/+6
2020-02-05add get_external_property to replace get_cross_propertyMichael Hirsch, Ph.D9-39/+81
2020-02-05add native-file properties testsMichael Hirsch, Ph.D5-7/+23
2020-02-05add meson.get_native_property for native filesMichael Hirsch, Ph.D4-1/+35
This allows Meson native-file [properties] to be used. This avoids the need to call meson from a script file or have a long command line invocation of `meson setup` The method meson.get_native_property('prop', 'fallback') is added. The native file can contain properties like ``` [properties] myprop1 = 'foo' mydir2 = 'lib/custom' ``` Then from within `meson.build` ```meson x1 = meson.get_native_property('myprop1') thedir = meson.get_native_property('mydir2', 'libs') ``` fallback values are optional
2020-02-05Merge pull request #6573 from michaelbadcrumble/add_sample_templatesJussi Pakkanen8-59/+746
Add new Meson sample templates
2020-02-05Merge pull request #6582 from mensinda/cmQuotesJussi Pakkanen7-32/+133
cmake: Fix spaces in compile flags (fixes #6566)
2020-02-05dependencies/ui: Honor static argument with wxwidgetsDylan Baker1-2/+14
Fixes #6564
2020-02-05dependencies/ui: Add type annotations to WxDependencyDylan Baker1-2/+6
2020-02-05dependencies/ui: wxwidgets requires C++Dylan Baker1-1/+1
so set the language field appropriately
2020-02-05pkgconfig: Generate -uninstalled.pc filesXavier Claessens7-18/+104
Closes: #3472.
2020-02-05pkgconfig: Fix code that make relative pathXavier Claessens1-2/+6
When subdir is '/foo/bar' and prefix '/foo' it was returning '/bar', which is an absolute path. It was then constructing '-L${prefix}//bar' with bogus double slash. When subdir is '/fooo/bar' and prefix '/foo' it was returning 'o/bar'.
2020-02-05Test using a File as an argument to run_command.Jussi Pakkanen1-0/+6
2020-02-05cmake: Added test case for #6566Daniel Mensinger5-5/+36
2020-02-05tests: Added basic test matrix support for project testsDaniel Mensinger1-22/+84
2020-02-04Fix prefix dependent option defaults (#6552)Jon Turney2-4/+10
* Extend test_prefix_dependent_defaults unit test to cover default case Extend test_prefix_dependent_defaults unit test to cover the default case, when the default prefix is '/usr/local'. (On Windows, the default prefix is 'c:/') * Restore adjusting option defaults depending on the default prefix Restore adjusting option defaults, depending on the default prefix. Droppped in d778a371
2020-02-04interpreter: Iterate custom target outputsXavier Claessens4-6/+44
2020-02-04Don't fail in setup on azure when commit message contains an equals signJon Turney1-0/+4
The kludgy method we use to get env vars from vcvarsall.bat into our environment doesn't correctly handle env var values which contain newlines. The BUILD_SOURCEVERSIONMESSAGE environment variable contains the entirety of the commit message. If a line containing an equals sign appears in the commit message, we could have problems. Unset that environment variable to workaround this problem.
2020-02-04environment: Handle cases of no cs compiler being installed correctlyDylan Baker1-0/+2
2020-02-04cmake: Fix spaces in compile flags (fixes #6566)Daniel Mensinger1-5/+13
2020-02-04Cleaning project readme [skip ci]Michael Brockus1-28/+24
2020-02-04cmake: Sanitize CMake names (fixes #6554)Daniel Mensinger4-24/+23
2020-02-03environment: Be stricter about detecting iclDylan Baker1-1/+1
Only detect a compiler as icl if the name is "icl" or "icl.exe"
2020-02-02update test_templates in run_unittests.pyMichael1-3/+21
2020-02-02add feature noteMichael1-0/+6
2020-02-02update the init commandMichael1-56/+80
2020-02-02add new templatesMichael5-0/+639
2020-02-03Add mesonbuild/ast to CODEOWNERS [skip ci]Daniel Mensinger1-0/+1
2020-02-01summary: Fix empty list caseXavier Claessens3-0/+4
Fixes: #6557.
2020-01-31docs: Update dependency docs for zlibDylan Baker1-0/+11
2020-01-31docs: Add snippet for zlib system dependencyDylan Baker1-0/+8
2020-01-31tests: Add a test case for the zlib system dependencyDylan Baker1-0/+23
2020-01-31dependencies: Add a zlib system dependency for windowsDylan Baker1-2/+20
2020-01-31dependencies: Add system zlib method for freebsd and dragonflybsdDylan Baker1-3/+8
I've tested this on FreeBSD, and dragonfly's userland is close enough I'm willing to call it good without testing. OpenBSD and NetBSD also have a zlib in their base configurations, but I'm not confident enough to enable those without testing.
2020-01-31dependencies: Add a zlib system dependency for macOSDylan Baker2-1/+32
This comes pre-installed, but currently we don't have a way to detect it without relying on pkg-config or cmake. This is only valid with the apple clang-based compilers, as they do some special magic to get headers.
2020-01-31dependencies: netcdf always look for netcdf-fortran for fortranDylan Baker1-4/+4
Otherwise it tries to link with the C bindings and fails. This is why the test is broken on archlinux
2020-01-31typing: Fix Any --> T.AnyDaniel Mensinger1-1/+1
2020-01-30Small cleanups for the LLVM dependency class (#6548)Dylan Baker2-1/+8
2020-01-30Merge pull request #6537 from UnoccupiedColonist/ghwt_fixesJussi Pakkanen2-24/+47
ghwt: allow user to specify branch
2020-01-30Merge pull request #6536 from jon-turney/cross-testing-refactorJussi Pakkanen4-53/+37
Refactor CI cross-testing
2020-01-30Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems (#6398)Michael Hirsch, Ph.D5-19/+46
2020-01-30-Fixed Renesas RX Family compiler to work with latest meson, updated ↵alanNz5-6/+18
cross-file, fixed assembly file use
2020-01-30Add CODEOWNERS file [skip ci]Xavier Claessens1-0/+4
Following proposal in #6485 we would like to delegate maitainership of parts of the Meson project (modules) to selected volunteers. Fixes: #6485.
2020-01-30Qt5: Do not use system qmake if not specified in cross fileXavier Claessens2-36/+32
There is a comment saying we do it because we used to do it. But it's wrong and lead to using system library when cross compiling. Factor out the code we use to find pkg-config, because it is the same use-case.