summaryrefslogtreecommitdiff
path: root/docs/markdown
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #7758 from dcbaker/submit/hdf5-factoryDylan Baker2020-09-292-0/+13
|\ | | | | dependencies/hdf5: Convert to a dependency_factory
| * dependencies/hdf5: Use the correct compilers for the machineDylan Baker2020-09-251-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
| * dependencies/hdf5: Convert to a dependency_factoryDylan Baker2020-09-252-0/+10
| | | | | | | | | | Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config
* | Merge pull request #7772 from xclaesse/deprecate-source-rootJussi Pakkanen2020-09-292-7/+23
|\ \ | | | | | | Deprecate meson.build_root() and meson.source_root()
| * | Add meson.project_build/source_root() methodsXavier Claessens2020-09-282-2/+13
| | |
| * | Deprecate meson.build_root() and meson.source_root()Xavier Claessens2020-09-232-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.
* | Improve documentation about using shell in custom_target() [skip ci]Jon Turney2020-09-292-4/+9
| | | | | | | | | | Add a note about the portability of using shell constructs in the custom_target() command.
* | Add old style command to tutorial. Closes #7793. [skip ci]Jussi Pakkanen2020-09-281-2/+13
|/
* docs: Clarify what literal strings mean [skip ci]Nirbheek Chauhan2020-09-211-2/+3
| | | | Someone on IRC was confused by this paragraph.
* Improve docs for creating new wraps. [skip ci]Jussi Pakkanen2020-09-211-16/+85
|
* Add support for the CompCert C CompilerSebastian Meyer2020-09-152-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>
* InternalDependency: Add as_link_whole() methodXavier Claessens2020-09-142-0/+19
|
* external-project: New module to build configure/make projectsXavier Claessens2020-09-132-0/+140
| | | | | | | This adds an experimental meson module to build projects with other build systems. Closes: #4316
* msubprojects: Allow comma separated list of typesXavier Claessens2020-09-102-5/+7
|
* msubprojects: Fix review commentsXavier Claessens2020-09-101-2/+2
|
* doc: Update new `meson subprojects` behaviorsXavier Claessens2020-09-102-12/+63
|
* Add release note snippetJon Turney2020-09-101-0/+4
|
* Don't require build machine compilers for project() languagesJon Turney2020-09-101-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.
* docs/Users: add p11-kit [skip ci]Daiki Ueno2020-09-071-0/+1
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* doc: Add missing method arguments [skip ci]Michal Sojka2020-09-061-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.
* docs: Fix typo in Reference-manual.md [skip ci]Krzysztof Małysa2020-09-051-1/+1
|
* introspect: add test dependencies info to test/benchmark JSONPaolo Bonzini2020-09-042-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>
* docs: Add a snippet for python 3.5 deprecation [skip ci]Nirbheek Chauhan2020-09-021-0/+15
|
* Add Entangle application to list of apps using MesonDaniel Berrangé2020-09-021-0/+1
| | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* Add some forgotten values for "cpp_std" [skip ci]Michael Brockus2020-09-021-1/+1
|
* Clarify the use of -Doption and alternatives [skip ci]Sebastian Engel2020-08-301-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]
* test: Add 'dir' support for installed files in test.jsonDaniel Mensinger2020-08-271-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.
* Merge pull request #7581 from peterh/aixJussi Pakkanen2020-08-251-0/+8
|\ | | | | Add AIX support
| * docs: add AIX preliminary support snippetPeter Harris2020-08-171-0/+8
| |
* | qt module: add qresource support to compile_translationsEli Schwartz2020-08-252-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.
* | Merge pull request #7600 from alexrp/masterJussi Pakkanen2020-08-232-2/+2
|\ \ | | | | | | Add C2x option support.
| * | Add C2x option support.Alex Rønne Petersen2020-08-222-2/+2
| | |
* | | Merge pull request #7447 from scivision/nvcJussi Pakkanen2020-08-222-0/+4
|\ \ \ | | | | | | | | Add support for NVidia HPC SDK compilers
| * | | docMichael Hirsch, Ph.D2020-07-132-0/+4
| | | |
* | | | added VS Code/Codium extention [skip ci]noasakurajin2020-08-221-0/+1
| | | |
* | | | Virtualization 💖 Meson [skip ci]Paolo Bonzini2020-08-211-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>
* | | | Interpreter: Fix c_stdlib usageXavier Claessens2020-08-182-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.
* | | add owl chess in Users.md [skip ci]Michael Brockus2020-08-151-0/+1
| | |
* | | Add paper rock scissors to Users.md [skip ci]Michael Brockus2020-08-151-0/+1
| | |
* | | Add that prefix keyword works for cc.get_defineJohn Scott2020-08-151-1/+1
| | |
* | | docs: Clarify some FAQs in the Tutorial [skip ci]Nirbheek Chauhan2020-08-141-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
* | Written a new paragraph for var naming recommendation (#7531)Michael Brockus2020-08-081-3/+6
| |
* | Document VS backend from_buildtype behaviour change in release notesNirbheek Chauhan2020-08-051-0/+8
| | | | | | | | Closes https://github.com/mesonbuild/meson/issues/7438
* | Merge pull request #6597 from dcbaker/full-project-configDylan Baker2020-08-022-13/+160
|\ \ | | | | | | Set project and meson options in cross/native files
| * | update version from 0.55. to 0.56Dylan Baker2020-08-011-4/+4
| | |
| * | machine-files: deprecate the paths sectionDylan Baker2020-08-011-1/+3
| | |
| * | docs/machine-files: Add a section on data typesDylan Baker2020-08-011-8/+40
| | | | | | | | | | | | | | | | | | This attempts to clarify the usage of strings and arrays, as well as document the boolean type that has been exposed via the project and built-in options
| * | Allow setting built-in options from cross/native filesDylan Baker2020-08-012-5/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is like the project options, but for meson builtin options. The only real differences here have to do with the differences between meson builtin options and project options. Some meson options can be set on a per-machine basis (build.pkg_config_path vs pkg_config_path) others can be set on a per-subproject basis, but should inherit the parent setting.
| * | docs/Machine-files: remove duplicate Properties sectionDylan Baker2020-07-301-7/+0
| | |
| * | Allow setting project options from cross or native filesDylan Baker2020-07-302-0/+57
| | | | | | | | | | | | | | | | | | This allows adding a `[project options]` section to a cross or native file that contains the options defined for a project in it's meson_option.txt file.