summaryrefslogtreecommitdiff
path: root/docs/markdown/Builtin-options.md
AgeCommit message (Collapse)Author
2021-11-21Support Visual Studio 2022 backendCrend King
2021-10-27Fix markdown list in Bultin-options.md [skip ci]Matthieu Gautier
The broken list was introduce by commit f72ee8e7 which fix too long lines.
2021-10-08python: Add platlibdir and purelibdir optionsXavier Claessens
2021-10-03docs: Fix broken linksDaniel Mensinger
2021-06-22Add Visual Studio 2012/2013 backends (#8803)fanc999
* backends: Add a Visual Studio 2013 backend This is more-or-less a quick port from the VS2015 backend, except that we update the Visual Studio version strings and toolset versions accordingly. Also correct the generator string for Visual Studio 2015 in mesonbuild/cmake/common.py. * backend: Add VS2012 backend Similar to what we did for Visual Studio 2013, add a Visual Studio 2012 backend. * vs2010backend.py: Implement `link_whole:` if needed We actually need Visual Studio 2015 Update 2 to use `/WHOLEARCHIVE:`, which is what we are currently using for `link_whole:` on Visual Studio. For Visual Studio versions before that, we need to expand from the static targets that were indicated by `link_whole:`, and any of the sub-dependent targets that were pulled in via the dependent target's `link_whole:`. This wil ensure `link_whole:` would actually work in such cases. * vs2010backend.py: Handle objects from generated sources Unforunately, we can't use backends.determine_ext_objs() reliably, as the Visual Studio backends handle this differently. * vs2010backend.py: Fix generating VS2010 projects Visual Studio 2010 (at least the Express Edition) does not set the envvar %VisualStudioVersion% in its command prompt, so fix generating VS2010 projects by taking account into this, so that we can determine the location of vcvarsall.bat correctly. * whole archive test: Disable on vs2012/2013 backends too The Visual Studio 2012/2013 IDE has problems handling the items that would be generated from this test case, so skip this test when using --backend=vs[2012|2013]. This test does work for the Ninja backend when VS2012 or VS2013 is used, though. Consolidate this error message with XCode along with the vs2010 backend. * docs: Add the new vs2012 and vs2013 backends Let people know that we have backends for vs2012 and 2013. Also let people know that generating Visual Studio 2010 projects have been fixed and the pre-vs2015 backends now handle the `link_whole:` project option.
2021-03-09Add address sanitizer support for Visual Studio.Jussi Pakkanen
2021-02-16Add optional -Dcuda_ccbindir= option and -ccbin flag to CUDA compiler.Olexa Bilaniuk
Closes #8110.
2021-02-02Add support for LLVM's thinLTODylan Baker
This uses a separate option, b_lto_mode. It works in conjunction with b_lto_threads. Fixes #7493
2021-02-02compilers: Add support for using multiple threads with ltoDylan Baker
Both Clang and GCC support using multiple threads for preforming link time optimizaions, and they can now be configured using the `-Db_lto_threads` option. Fixes #7820
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen
2021-01-13Fix misspellsAntonin Décimo
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
2020-12-10compilers: add support for c++20/gnu++20Florian Schmaus
Fixes #8084.
2020-11-05docs: Fix broken anchor links [skip ci]Johan Bjäreholt
Apparently anchor links are case-sensitive and needs to be lowercase in hotdoc. Prior to this change the anchor links were uppercase so the link did not refer to the anchor tag. Likely that there are more occurrences around the docs than this, have not looked.
2020-10-14Merge pull request #6968 from xclaesse/auto-promoteJussi Pakkanen
Merge wraps from subprojects into wraps from main project
2020-10-14vs: add static_from_buildtype to b_vscrtPeter Harris
2020-10-13Add wrap mode to disable auto promoteXavier Claessens
2020-09-02Add some forgotten values for "cpp_std" [skip ci]Michael Brockus
2020-08-30Clarify the use of -Doption and alternatives [skip ci]Sebastian Engel
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-22Add C2x option support.Alex Rønne Petersen
2020-07-28Describe syntax of `meson configure [skip ci]Matthew D. Scholefield
This makes it a lot easier for people to quickly figure out how to customize parameter.
2020-07-22coredata: Make warning_level per subproject builtin optionXavier Claessens
2020-06-16interpreter: add support for --force-fallback-forMathieu Duponchelle
This new command line option allows specifying dependencies for which to force fallback. See the documentation for more information Fixes: #7218
2020-06-12[skip ci] docs: Bring up to date on options per machineJohn Ericson
I tried to fix the docs when the stuff was added, but it turns out I missed things, as noted in https://github.com/mesonbuild/meson/issues/7284#issuecomment-641641177
2020-04-14Corrected prefix path [skip ci]Jonas Møller
Using meson version `0.53.2` prefix defaulted to `/usr/local`, not `/usr/local/` (not the trailing slash)
2020-03-12docs: Document from_builtype mapping for b_vscrt [skip ci]Nirbheek Chauhan
2020-03-11coredata: Warn on usage of both -Dbuildtype and -Doptimization/-DdebugNirbheek Chauhan
It may not be obvious to users that these two ways to set build-types override each other and specifying both is redundant, and conflicts are resolved based on whichever is specified later. Closes https://github.com/mesonbuild/meson/issues/6742
2020-03-08Merge pull request #6688 from dcbaker/emcc-linker-bugsJussi Pakkanen
Emcc linker bugs and improvments
2020-03-05Document the details of optimization+debug vs buildtype [skip ci]Nirbheek Chauhan
Otherwise you have to hunt through the source code. Specifically, this is defined in `mesonbuild/coredata.py`: `set_buildtype_from_others()` and `set_others_from_buildtype()`
2020-02-27compilers/mixins/emscripten: Implement thread supportDylan Baker
Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684
2020-02-12Add unity block size option.Jussi Pakkanen
2019-11-25complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D
2019-11-06docs: Add backend vs2019 to table in Builtin-options.md [skip ci]Wolfgang Stöggl
2019-11-06Fix typos found by codespellWolfgang Stöggl
- Typos were found by codespell v1.16.0
2019-11-02Add option for controlling RTTI.Jussi Pakkanen
2019-10-19docs: Fix some incorrect links [skip ci]Anton Leontiev
2019-06-21docs: Update libdir caveatDylan Baker
Fixes #5514
2019-06-05Per machine do 'build.' and '' option prefixesJohn Ericson
See the docs/ changes for details.
2019-05-27coredata: add cmake_prefix_path optionDylan Baker
2019-05-27docs: pkg_config_path is a list not a stringDylan Baker
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar and meson will join the paths appropriately for you.
2019-05-05add -fno-exceptions if cpp_eh=none is specified nicole mazzuca
2019-05-02Add vc++ cpp_std flags to the documentationNicole Mazzuca
2019-04-10Update Built-in Option c_std for C17. Closes #4842.jrl64
2019-04-10[docs] Reordered options and fixed a typo [skip ci]TheQwertiest
2019-04-09docs: Document pkg_config_path and cross_ options [skip ci]Dylan Baker
2019-03-29[Docs] Built-in options page cleanup (fixes #5165) [skip ci]TheQwertiest
- Added missing universal options. - Split options in `directories` and `core` groups. - Sorted alphabetically some of the groups. - Removed `cross-file` from options, since it's not an option.
2019-02-19Add warning level zerojml1795
2019-02-08fix documentation typo for default_library option [skip ci]ericLemanissier
2018-12-31docs: Note --warnlevel instead of --warning_levelTingPing
2018-12-31docs: Change warnlevel option to warning_levelTingPing