summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2021-08-31i18n module: provide targets as return value for gettext()Eli Schwartz
Users may wish to make use of these files for their own purposes. For example, the -pot and -update-po pseudo targets could be reused in an alias_target(), and at least one person wanted to reuse the built .mo files as custom_target input. Fixes #6227
2021-08-31interpreter: Make comparisons of different types a hard errorDaniel Mensinger
2021-08-31Make assignment a statement in Syntax.md (#9188) [skip-ci]jimman2003
* Make assignment a statement in Syntax force to change line 709 to something kind of non sensical * Applied code review changes
2021-08-30Add missing "disabler" kwarg to python.dependency()Xavier Claessens
There is a unit test using it and now fails because the warning about unknown kwarg became fatal.
2021-08-28docs: update LD docs link in FAQ.mdAndrea Pappacoda
2021-08-27FAQ: document some community work toward implementing Meson in C/C++Eli Schwartz
This is useful information for solving the OS bootstrapping problem. Give it some visibility. Also, I don't want to forget where I found any of these. :D ref. #2335
2021-08-23interpreter: Fix dependency(..., static: true) fallbackXavier Claessens
It should build the fallback subprject with default_library=static and override the dependency for both static=True and static kwarg not given. Fixes: #8050.
2021-08-22Fix syntax error that broke the websiteEli Schwartz
Regression in commit be92e3783751b8bf1481dc81635e86b70977698a
2021-08-22Add Java moduleTristan Partin
The Java module will serve as a source for easing Java development within Meson. Currently it only supports generating native header files.
2021-08-21Update instructions on installing with Pip. Closes #9034.Jussi Pakkanen
2021-08-20Merge pull request #9012 from dcbaker/submit/qt-custom-targetsJussi Pakkanen
Qt module generated sources
2021-08-20external-project: Add support for WAF build systemXavier Claessens
Fixes: #7638
2021-08-18docs: add snippet for qt compile_ method generated inputsDylan Baker
2021-08-18modules/qt: Allow using generated sources for compile_translations ts_filesDylan Baker
2021-08-18modules/qt: Allow Generated sources in compile_resourcesDylan Baker
2021-08-18modules/qt: allow passing generated targets to compile_uiDylan Baker
2021-08-18modules/qt: Allow generated sources for arguemnts to compile_mocDylan Baker
2021-08-18test runner: add the ability to configure test.json for python pathsEli Schwartz
Adds new installed file types with @VAR@ substitution.
2021-08-18docs: Remove the deleted function find_libraryDaniel Mensinger
2021-08-17Add install tagsXavier Claessens
Fixes: #7007.
2021-08-16interpreter/compiler: remove unittest_args methodDylan Baker
It's not documented, and it's been marked deprecated for who knows how long.
2021-08-16Document new rules for green CI.Jussi Pakkanen
2021-08-16Add unset_variable()Tristan Partin
This should be useful for helping to control variable scope within Meson. CMake has something similar for controlling scope.
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-08-15Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate"Jussi Pakkanen
This reverts commit 0b97d585480e973d8b149618901f7a4ddfa1a906.
2021-08-13Document that custom_target() install_dir can be a listXavier Claessens
2021-08-12fix the previous commit which deleted a doc file but not the index entryEli Schwartz
The CI still passed, or should I say, didn't run, and I failed to notice this in manual review. Sorry!
2021-08-12Update wrap documentation to describe new submission processEli Schwartz
2021-08-11compilers/c++: Add MSVC option to make the __cplusplus define accurateDylan Baker
Otherwise it always returns the value for c++98, starting with MSVC 2017 15.7 or later. Earlier versions are not affected by this mis-feature
2021-08-08Add support for finding Javascript source libraries with Emscripten.Jussi Pakkanen
2021-08-04destdir: Allow relative to build directoryXavier Claessens
Meson already works like that, except in do_copydir() that requires absolute destdir. Better explicitly support that instead of leaving it undefined and unconsistent.
2021-07-27doc: mention CUDA_PATH in dependency('cuda') [skip ci]David Seifert
2021-07-26coredata: throw a MesonException on unknown optionsFlorian Schmaus
Fixes #7288.
2021-07-25Added release snippetmiebka
2021-07-23Add support for gcovr --sonarqube reportWeston Schmidt
Sonarcloud.io only can read the sonarqube based report that gcovr can produce. This change enables support for this output in meson and ninja. Signed-off-by: Weston Schmidt <Weston_Schmidt@alumni.purdue.edu>
2021-07-23qt: Allow CustomTargets for qt.preprocess source argumentsDylan Baker
This works for `moc_*` and `ui_files`, but it never could have worked for `qresources` due to the implementation assuming a `str` or `File`. To restore previous compatibility I've added `CustomTarget` where it would have worked, but not where it would have failed, the former would raised an exception along the lines anyway. Fixes #9007
2021-07-22Merge pull request #8992 from dcbaker/submit/modernize-python-module-dependencyJussi Pakkanen
Cleanup the python module
2021-07-18Set up the 0.59.0 release.Jussi Pakkanen
2021-07-13modules/python: Add type annotationsDylan Baker
There's still a number of things that don't properly type check, that's expected though as the input is often unvalidated and assumed good.
2021-07-08docs: fix minor typos in Machine-files.mdAndrea Pappacoda
2021-07-07Allow `skip_*` test.json keys at top-level or in `matrix:`Jon Turney
2021-07-07Add `skip_on_os` to test.jsonJon Turney
2021-07-07Add `skip_on_jobname` to test.jsonJon Turney
Plan to replace the hard-coded list of 'may be skipped' framework tests in skippable() with annotations in test.json which record 'will be skipped in these specific CI jobs'. If the value of the MESON_CI_JOBNAME env var (an arbitrary string expected to be unique for each CI configuration) contains any of the strings in the `skip_on_jobname` key in test.json, the test is expected to output MESON_SKIP_TEST. Unexpected skips or runs are treated as an error. Future work: Maybe we should add additional count categories 'unexpected skip' and 'unexpected not skipped', rather than counting those as 'skipped' and 'failed', respectively.
2021-07-07windows: Support wrc resource compilerConnor Abbott
It has a similar interface to windres, but it produces ELF instead of COFF binaries. It uses its own preprocessor which doesn't support creating depfiles, but we can convince it to use the system preprocessor instead and pass those arguments using the --preprocessor option. Together with some hacks to override the shared library/executable suffix and some wine patches [1] this is enough to compile dxvk when ripping out the hand-rolled rc support. [1] https://www.winehq.org/pipermail/wine-devel/2021-July/190100.html https://www.winehq.org/pipermail/wine-devel/2021-July/190098.html https://www.winehq.org/pipermail/wine-devel/2021-July/190099.html https://www.winehq.org/pipermail/wine-devel/2021-July/190101.html
2021-07-05Merge pull request #8957 from jon-turney/dependency-doc-improveJussi Pakkanen
Improvements to dependency doc
2021-07-04Users: Update URL for pacmanJon Turney
git.archlinux.org has been decomissioned [1] [1] https://lists.archlinux.org/pipermail/arch-dev-public/2021-June/030466.html
2021-07-04Consistently capitialize 'Meson' in Dependencies.mdJon Turney
Consistently capitialize 'Meson' where used as a proper name in Dependencies.md.
2021-07-03Improve text for dependency detection methodsJon Turney
Make it clear that search order for 'auto' there only applies to generic dependency names. Drop 'system' from that list, as it's not actually used for generic dependencies (nor is it defined what it would do).
2021-07-03Fix image link names.Jussi Pakkanen
2021-06-30interpreter: add required and disabled to importDylan Baker
This is useful both from the perspective of optional functionality that requires a module, and also as I continue to progress with Meson++, which will probably not implement all of the modules that Meson itself does.