aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2020-10-02docs: Fixup find_program search path documentation [skip ci]Nirbheek Chauhan1-5/+16
It was slightly wrong, and also make it a bullet point for easier parsing.
2020-10-01deprecated get_configtool_variable and get_pkgconfig_variableDylan Baker2-10/+18
The get_variable method is able to do everything they do and more, making it generally more useful. Let's tell people to stop using the old ones.
2020-10-01Document search order of find_programRasmus Thomsen1-1/+4
2020-10-01document keys() method of dictionary object [skip ci]Alexandros Theodotou1-0/+2
2020-09-29dependencies/curses: Add a system dependencyDylan Baker2-4/+4
That calls find_library and has_header in conjunction to look for curses implementations that are baked into the system without any other find method.
2020-09-29dependencies/curses: Add support for using the ncurses config toolsDylan Baker2-1/+7
These are mostly duplicated with pkg-config, but maybe someone has one but not another, and they're easy to turn on with the ConfigToolDependency.
2020-09-29docs/Dependencies Add missing curses documentationDylan Baker1-0/+10
2020-09-29Merge pull request #7758 from dcbaker/submit/hdf5-factoryDylan Baker2-0/+13
dependencies/hdf5: Convert to a dependency_factory
2020-09-29Merge pull request #7772 from xclaesse/deprecate-source-rootJussi Pakkanen2-7/+23
Deprecate meson.build_root() and meson.source_root()
2020-09-29Improve documentation about using shell in custom_target() [skip ci]Jon Turney2-4/+9
Add a note about the portability of using shell constructs in the custom_target() command.
2020-09-28Add old style command to tutorial. Closes #7793. [skip ci]Jussi Pakkanen1-2/+13
2020-09-28Add meson.project_build/source_root() methodsXavier Claessens2-2/+13
2020-09-25dependencies/hdf5: Use the correct compilers for the machineDylan Baker1-0/+3
Instead of the default ones, this is especially important when cross compiling or when using compilers that aren't compatible with the default ones. squash! dependencies/hdf5: Use the actual system compilers
2020-09-25dependencies/hdf5: Convert to a dependency_factoryDylan Baker2-0/+10
Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config
2020-09-23Deprecate meson.build_root() and meson.source_root()Xavier Claessens2-6/+11
Those function are common source of issue when used in a subproject because they point to the parent project root which is rarely what is expected and is a violation of subproject isolation.
2020-09-21docs: Clarify what literal strings mean [skip ci]Nirbheek Chauhan1-2/+3
Someone on IRC was confused by this paragraph.
2020-09-21Improve docs for creating new wraps. [skip ci]Jussi Pakkanen1-16/+85
2020-09-15Add support for the CompCert C CompilerSebastian Meyer2-0/+5
* Add preliminary support for the CompCert C Compiler The intention is to use this with the picolibc, so some GCC flags are automatically filtered. Since CompCert uses GCC is for linking, those GCC-linker flags which are used by picolibc, are automatically prefixed with '-WUl', so that they're passed to GCC. Squashed commit of the following: commit 4e0ad66dca9de301d2e41e74aea4142afbd1da7d Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:20:39 2020 +0200 remove '-fall' from default arguments, also filter -ftls-model=.* commit 41afa3ccc62ae72824eb319cb8b34b7e6693cb67 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:13:55 2020 +0200 use regex for filtering ccomp args commit d68d242d0ad22f8bf53923ce849da9b86b696a75 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 13:54:36 2020 +0200 filter some gcc arguments commit 982a01756266bddbbd211c54e8dbfa2f43dec38f Author: Sebastian Meyer <meyer@absint.com> Date: Fri Aug 28 15:03:14 2020 +0200 fix ccomp meson configuration commit dce0bea00b1caa094b1ed0c6c77cf6c12f0f58d9 Author: Sebastian Meyer <meyer@absint.com> Date: Thu Aug 27 13:02:19 2020 +0200 add CompCert to meson (does not fully work, yet) * remove unused import and s/cls/self/ fixes the two obvious LGTM warnings * CompCert: Do not ignore unsupported GCC flags Some are safe to ignore, however, as per https://github.com/mesonbuild/meson/pull/7674, they should not be ignored by meson itself. Instead the meson.build should take care to select only those which are actually supported by the compiler. * remove unused variable * Only add arguments once. * Apply suggestions from code review Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Remove erroneous ' ' from '-o {}'.format() As noticed by @dcbaker * added release note snippet for compcert * properly split parameters As suggested by @dcbaker, these parameters should be properly split into multiple strings. Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Update add_compcert_compiler.md Added a sentence about the state of the implementation (experimental); use proper markdown * properly separate arguments Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
2020-09-14InternalDependency: Add as_link_whole() methodXavier Claessens2-0/+19
2020-09-13external-project: New module to build configure/make projectsXavier Claessens3-0/+141
This adds an experimental meson module to build projects with other build systems. Closes: #4316
2020-09-10msubprojects: Allow comma separated list of typesXavier Claessens2-5/+7
2020-09-10msubprojects: Fix review commentsXavier Claessens1-2/+2
2020-09-10doc: Update new `meson subprojects` behaviorsXavier Claessens2-12/+63
2020-09-10Add release note snippetJon Turney1-0/+4
2020-09-10Don't require build machine compilers for project() languagesJon Turney1-5/+13
This means that, in the common case of a simple meson.build which doesn't contain any 'native: true' targets, we won't require a native compiler when cross-compiling, without needing any changes in the meson.build.
2020-09-07docs/Users: add p11-kit [skip ci]Daiki Ueno1-0/+1
Signed-off-by: Daiki Ueno <ueno@gnu.org>
2020-09-06doc: Add missing method arguments [skip ci]Michal Sojka1-21/+21
Documentation of most methods mentions method arguments enclosed in parentheses. Two methods are an exception and we fix them here to make the manual more consistent.
2020-09-05docs: Fix typo in Reference-manual.md [skip ci]Krzysztof Małysa1-1/+1
2020-09-04introspect: add test dependencies info to test/benchmark JSONPaolo Bonzini2-0/+11
Add the ids of any target that needs to be rebuilt before running the tests as computed by the backend, to the introspection data for tests and benchmarks. This also includes anything that appears on the test's command line. Without this information, IDEs must update the entire build before running any test. They can now instead selectively build the test executable itself and anything that is needed to run it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-09-02docs: Add a snippet for python 3.5 deprecation [skip ci]Nirbheek Chauhan1-0/+15
2020-09-02Add Entangle application to list of apps using MesonDaniel Berrangé1-0/+1
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-09-02Add some forgotten values for "cpp_std" [skip ci]Michael Brockus1-1/+1
2020-08-30Clarify the use of -Doption and alternatives [skip ci]Sebastian Engel1-4/+8
The -Doption=value style argument works for all builtin options, and compiler options passed to meson. And some universal options, have additional ways to be passed. However, base options (and compiler options) do not have exactly the same ways of passing as universal options. This change adds a few pieces of information, which might get lost, if the manual is not read serially. [skip ci]
2020-08-27test: Add 'dir' support for installed files in test.jsonDaniel Mensinger1-0/+1
This is useful for automatically generated docs (doxygen, hotdoc) with a lot of generated files that may differ with different versions of the generator.
2020-08-25Merge pull request #7581 from peterh/aixJussi Pakkanen1-0/+8
Add AIX support
2020-08-25qt module: add qresource support to compile_translationsEli Schwartz2-0/+36
A common pattern in Qt5 applications is to embed translations in the executable using the qresource system. In this case, the list of translation files is already available in the .qrc file and there's no good reason to duplicate this info in meson.build. Let compile_translations optionally take a qrc input, in which case it will go straight to generating the relevant translations and rcc-generated .cpp, and directly return the thing users actually care about -- the .cpp for linking.
2020-08-23Merge pull request #7600 from alexrp/masterJussi Pakkanen2-2/+2
Add C2x option support.
2020-08-22Add C2x option support.Alex Rønne Petersen2-2/+2
2020-08-22Merge pull request #7447 from scivision/nvcJussi Pakkanen2-0/+4
Add support for NVidia HPC SDK compilers
2020-08-22added VS Code/Codium extention [skip ci]noasakurajin1-0/+1
2020-08-21Virtualization 💖 Meson [skip ci]Paolo Bonzini1-0/+2
There are a couple new users of Meson that might be worth mentioning. 502 commits later, Libvirt and QEMU have both switched! Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-18Interpreter: Fix c_stdlib usageXavier Claessens2-1/+19
- Exceptions raised during subproject setup were ignored. - Allow c_stdlib in native file, was already half supported. - Eliminate usage of subproject variable name by overriding '<lang>_stdlib' dependency name.
2020-08-17docs: add AIX preliminary support snippetPeter Harris1-0/+8
2020-08-15add owl chess in Users.md [skip ci]Michael Brockus1-0/+1
2020-08-15Add paper rock scissors to Users.md [skip ci]Michael Brockus1-0/+1
2020-08-15Add that prefix keyword works for cc.get_defineJohn Scott1-1/+1
2020-08-14docs: Clarify some FAQs in the Tutorial [skip ci]Nirbheek Chauhan1-1/+13
Clarifications that were observed to be needed when seeing a user try the Tutorial for the first time at: https://www.twitch.tv/videos/709237047?t=50m20s
2020-08-08Written a new paragraph for var naming recommendation (#7531)Michael Brockus1-3/+6
2020-08-05Document VS backend from_buildtype behaviour change in release notesNirbheek Chauhan1-0/+8
Closes https://github.com/mesonbuild/meson/issues/7438
2020-08-02Merge pull request #6597 from dcbaker/full-project-configDylan Baker2-13/+160
Set project and meson options in cross/native files