Commit Graph

40 Commits

Author SHA1 Message Date
Alex Rønne Petersen 450155110c Add C2x option support. 2020-08-22 18:57:05 +02:00
Matthew D. Scholefield bc2338efd3
Describe syntax of `meson configure [skip ci]
This makes it a lot easier for people to quickly figure out how to customize parameter.
2020-07-28 20:47:20 +03:00
Xavier Claessens c016401f95 coredata: Make warning_level per subproject builtin option 2020-07-22 19:19:50 -04:00
Mathieu Duponchelle 20709af4d2 interpreter: add support for --force-fallback-for
This new command line option allows specifying dependencies for
which to force fallback.

See the documentation for more information

Fixes: #7218
2020-06-16 13:45:40 -04:00
John Ericson 58c2aeb5e4 [skip ci] docs: Bring up to date on options per machine
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-06-12 10:35:11 -07:00
Jonas Møller 1d7d9c88e8
Corrected prefix path [skip ci]
Using meson version `0.53.2` prefix defaulted to `/usr/local`, not `/usr/local/` (not the trailing slash)
2020-04-14 23:22:08 +03:00
Nirbheek Chauhan 7e1719fe06
docs: Document from_builtype mapping for b_vscrt [skip ci] 2020-03-12 21:18:41 +02:00
Nirbheek Chauhan 69e9d32bca coredata: Warn on usage of both -Dbuildtype and -Doptimization/-Ddebug
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-11 07:11:59 -04:00
Jussi Pakkanen 7234316dc7
Merge pull request #6688 from dcbaker/emcc-linker-bugs
Emcc linker bugs and improvments
2020-03-08 14:04:48 +02:00
Nirbheek Chauhan 5c14f98239 Document the details of optimization+debug vs buildtype [skip ci]
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-03-05 00:37:57 +05:30
Dylan Baker 771b0d3ffb compilers/mixins/emscripten: Implement thread support
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-27 16:35:02 -08:00
Jussi Pakkanen 47759550e5 Add unity block size option. 2020-02-12 22:31:08 +02:00
Michael Hirsch, Ph.D 07a2fe2f00 complete gfortran/intel/intel-cl fortran_std test 2019-11-25 13:08:56 +02:00
Wolfgang Stöggl 32f64aa2cb docs: Add backend vs2019 to table in Builtin-options.md [skip ci] 2019-11-06 10:53:43 -05:00
Wolfgang Stöggl f037e7ef45 Fix typos found by codespell
- Typos were found by codespell v1.16.0
2019-11-06 09:55:30 -05:00
Jussi Pakkanen b3fe4a0a18 Add option for controlling RTTI. 2019-11-02 19:49:14 +02:00
Anton Leontiev 603b1ac287 docs: Fix some incorrect links [skip ci] 2019-10-19 19:14:10 +03:00
Dylan Baker d35d7ccad1 docs: Update libdir caveat
Fixes #5514
2019-06-21 16:55:18 +03:00
John Ericson af2d7af998 Per machine do 'build.' and '' option prefixes
See the docs/ changes for details.
2019-06-05 23:05:34 -04:00
Dylan Baker 0714ba58c7 coredata: add cmake_prefix_path option 2019-05-27 01:24:08 +03:00
Dylan Baker 0d19d334a8 docs: pkg_config_path is a list not a string
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar
and meson will join the paths appropriately for you.
2019-05-27 01:24:08 +03:00
nicole mazzuca 24d5c73b0a add -fno-exceptions if cpp_eh=none is specified 2019-05-05 21:19:04 +03:00
Nicole Mazzuca 16463046b1 Add vc++ cpp_std flags to the documentation 2019-05-02 13:23:19 -07:00
jrl64 a2d222c383 Update Built-in Option c_std for C17. Closes #4842. 2019-04-10 23:14:51 +03:00
TheQwertiest 52fa6152cd [docs] Reordered options and fixed a typo [skip ci] 2019-04-10 19:29:25 +03:00
Dylan Baker 67ca2d5bdc docs: Document pkg_config_path and cross_ options [skip ci] 2019-04-09 16:34:10 +00:00
TheQwertiest c0d287c1bf [Docs] Built-in options page cleanup (fixes #5165) [skip ci]
- 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-03-29 21:44:16 +02:00
jml1795 a9e63568fe Add warning level zero 2019-02-19 00:06:27 +02:00
ericLemanissier bb3997a39c fix documentation typo for default_library option [skip ci] 2019-02-08 10:12:26 -08:00
TingPing d25146ffc0
docs: Note --warnlevel instead of --warning_level 2018-12-31 21:46:58 -05:00
TingPing 4aeba8214f
docs: Change warnlevel option to warning_level 2018-12-31 21:34:26 -05:00
Konstantin Kharlamov f7d2e7c5d5 [skip ci] Options as `b_ndebug` can also be set in meson.build 2018-12-18 10:27:52 -08:00
Xavier Claessens c453400d59 Add 'b_pie' compiler option
On Android executables must be position independent, many
distributions enable it by default too for security reasons.
2018-10-20 00:47:27 +03:00
Dylan Baker c354a2b1cf docs/Builtin-options: Clarify -Dc_args for cross compilation (#4289) [skip ci] 2018-09-28 14:39:58 -07:00
Will Thompson 6a46ce4845 Builtin-options.md: fix "erros" typo [skip ci] 2018-09-13 06:33:03 -07:00
Jussi Pakkanen d83f77109a
Convert buildtype to optimization and debug options (#3489) 2018-08-18 20:39:47 +03:00
Christoph Behle 2428b388db Document options for meson
Document what waring_level 1,2,3 means.
Test if markdown files are in sitemap
Add Builtin-options.md to sitemap.txt

Builtin-options.md:
  Fix tables in Builtin-options.md
  Add documentation for warning options
  Added more options to doc

General documentation:
  Add link to Builtin-options
  Remove obsolete file

Testing:
  Add function test_markdown_files_in_sitemap.
  Checks if each markdown file is contained in sitemap.txt
2018-07-08 10:56:37 -07:00
Nirbheek Chauhan b1901f315d
Builtin-options.md: broken markdown [skip ci] 2018-07-06 11:09:01 +05:30
Xavier Claessens b7d442150d Move <lang>_args to coredata.compiler_options 2018-06-06 20:02:37 +00:00
Nirbheek Chauhan 0565262be3 Add documentation for Builtin options and bitcode
Also add a test that ensures that new base options and compiler options
are always documented.
2018-06-06 07:53:10 +00:00