aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-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.
2020-01-29deps: Fix prelimenary CMake lookup.Daniel Mensinger1-3/+7
The CMake config files / modules have to be checked case insensitive in some cases, otherwise some dependencies will not be found even though they are installed.
2020-01-29ci: Add Arch Linux OS testDaniel Mensinger4-2/+65
2020-01-29Bump Java version in test program.Jussi Pakkanen1-2/+2
2020-01-29Skip ld tests if no compiler installed.Jussi Pakkanen1-0/+2
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950020
2020-01-29dependencies: Add comment to the packages dictDylan Baker1-0/+5
2020-01-29dependencies: Use a factory for cursesDylan Baker2-25/+17
2020-01-29dependencies: Rename _add_sub_dependency2 to _add_sub_dependencyDylan Baker3-21/+7
Since the original _add_sub_dependency is no longer in use.
2020-01-29dependencies: Use a factory for fortran coarraysDylan Baker2-40/+42
2020-01-29dependencies: Split detect_compiler out of dependencyDylan Baker1-19/+24
We need it for dependency factories as well.
2020-01-29dependencies: Use a DependencyFactory for threadsDylan Baker6-43/+42
This lets us make a number of uses of threads safer, because we can use the threads_factory instead of the ThreadDependency
2020-01-29dependencies: Use a factory for NetCDFDylan Baker2-43/+19
This uses a custom factory because that makes more sense here, since we need logic to decide what pkg-config files to look for
2020-01-29dependencies: Remove now dead codeDylan Baker1-24/+0
Mostly this is the metagprogramming that ConfigToolDependency used to do, but doesn't need anymore.
2020-01-29dependencies: Use a custom factory for shadercDylan Baker2-29/+42
2020-01-29dependencies: Add a decorator for dependency factory functionsDylan Baker1-0/+27
This helps make them a bit more self documenting, and remove a bit of the boilerplate they would otherwise have to each implement.
2020-01-29dependencies: Use DependencyFactory for sdl2Dylan Baker2-30/+14
2020-01-29dependencies: Use DependencyFactory for glDylan Baker2-18/+10
2020-01-29dependencies: Use DependencyFactory for gpgmeDylan Baker2-21/+12
2020-01-29dependencies: Use DependencyFactory for LibGcryptDylan Baker2-21/+12