John Ericson
0325d58863
docs: Expand on compiler vs compilee build host and target ( #3308 ) [skip ci]
7 years ago
behlec
37d379ebe5
Allow meson build file to exit early. ( #2808 )
7 years ago
Xavier Claessens
b4aee4675a
pkgconfig: Add a simple version of the generator ( #3284 )
7 years ago
Alistair Thomas
3b9f4098ef
docs: In executable() remove statement that all other files are ignored [skip ci]
...
Currently Meson returns an error that no compiler can be found
for an unknown file extension
7 years ago
Alistair Thomas
47f71d1a41
docs: Update test() to include that a program found with find_program() can be used [skip ci]
7 years ago
John Ericson
1a8bc77f53
docs: fix one 'target' that should be 'host' [skip ci]
...
The target platform of cross compiler is the host platform of the project being built.
7 years ago
Eric Engestrom
13fa1fb74f
docs/FAQ: fix typo [skip ci]
7 years ago
Jussi Pakkanen
150351cfdd
Document the new and improved review guidelines. [skip ci]
7 years ago
Jussi Pakkanen
30827b5644
Do not install configure_file output if install_dir is empty. Closes #3270 .
7 years ago
Marvin Scholz
1c8d4bf05b
Docs: Correct env variable SCAN_BUILD to SCANBUILD
7 years ago
Aleksey Filippov
5f81d36207
Add install_data() rename snippet
7 years ago
Aleksey Filippov
d63fff06d9
Add install_data() rename documentation
7 years ago
Felipe Corrêa da Silva Sanches
50c66f1f5c
fixing some typos on the icestorm page
7 years ago
Martin Hostettler
b89309df64
Project-templates.md: Fix help command name [skip ci]
7 years ago
Jussi Pakkanen
24ae120868
Turn deprecated commands into errors.
7 years ago
Jussi Pakkanen
a20c5ccd13
Fix snippet heading to conform to new formatting rules.
7 years ago
Aleksey Filippov
98fc7a82dc
Link "External commands" page from run_command() reference [skip ci]
7 years ago
Jon Turney
6f8e541f55
docs: update for mesonintrospect.py -> meson introspect
...
mesonintrospect is deprecated since 59a35c4c
(PR #2067 )
7 years ago
Jon Turney
e79454c2a4
docs: Add custom dependencies missing documentation
...
Add some brief documnentation about custom dependency lookups which are
implemented but not documented.
7 years ago
Jon Turney
e6d6b609cc
docs: polish documentation for custom dependency detectors
...
Various grammar fixes
Fix syntax of MPI examples
Add Qt4
7 years ago
Jon Turney
64bc2b84f8
docs: update system cross file documentation
...
Works on all non-Windows since cf98f5e3
(PR #3119 )
7 years ago
Jon Turney
fa0386d98a
docs: remove reference to mesongui
...
mesongui was removed in 71f18226
(PR #574 )
7 years ago
Jukka Laurila
52c50da6c7
Refactor: Add log.error and log.exception to reduce code duplication.
7 years ago
Eduardo Lima (Etrunko)
ccd198a849
Gnome-module.md: Add information about output files to mkenums()
...
[skip ci]
7 years ago
Jon Turney
ffe6ed2a47
doc: Tweak text about get_option('foodir') in reference manual [skip ci]
...
* The example for executable()'s install_dir: should use join_paths()
* Clarify how to use directory options which are potentially not prefix
relative
This is mentioned in https://github.com/mesonbuild/meson/issues/1637 and see
also https://patchwork.freedesktop.org/patch/200373/ for an example of this
usage, and the possible confusion that can arise.
7 years ago
Evgenii Shatokhin
19718a8d9c
Allow passing a compiler object to run_command()
...
Sometimes it is needed to run the current compiler with specific options
not to compile a file but rather to obtain additional info. For example,
GCC has several -print-* options to query it about the paths to
different libraries and development files. One use case is to get the
location of development files for GCC plugins, which is not easily
obtainable by other means:
gcc -print-file-name=plugin
For this purpose, it would be convenient if the compiler object returned
by meson.get_compiler(lang) could be used in run_command() directly.
This commit implements it.
Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
7 years ago
Jukka Laurila
048508c989
Make "meson help" and "meson help <subcommand>" do the expected thing.
7 years ago
Nirbheek Chauhan
9e18e4c703
Improve vcs_tag documentation [skip ci]
...
Document that dependencies must be explicitly signalled, just like with a custom target.
7 years ago
Aleksey Filippov
4de02cb5b0
Document declare_dependency() link_whole parameter
7 years ago
Jukka Laurila
8f340ffb8d
Generate meson.build based on existing source files when meson init is run in a non-empty directory.
7 years ago
Jussi Pakkanen
9819bc9c56
Add Python minimum version requirement in release notes. [skip ci]
7 years ago
TÖRÖK Attila
3e92a86db4
doc: Fix a syntax error in an example in 'Generating sources'. [skip ci]
7 years ago
Jussi Pakkanen
2521e43baf
Add missing code block end marker.
7 years ago
Jussi Pakkanen
daaae647d7
Updated information for new release.
7 years ago
Jussi Pakkanen
f53e8b8812
Explain change of default better. [skip ci]
7 years ago
Tim Ansell
69ff980fbc
Fixing broken language arguments [skip ci]
...
Missing ending pipe was causing it to fail to render.
7 years ago
Aleksey Filippov
e41f00f834
Document wxwidgets dependency, closes #3159 [skip ci]
7 years ago
Jussi Pakkanen
38145e0251
The "outputs" kwarg should be "output" and rewrapping. Closes #3166 . [skip ci]
7 years ago
Aleksey Filippov
5f0aeafa38
Add jpakkane's answer to "Why must all subprojects be inside a single directory?" [skip ci]
7 years ago
Aleksey Filippov
15537f5e8e
Add links to Subprojects.md page from subproject() and subproject object documentation [skip ci]
7 years ago
Aleksey Filippov
5e6c47a4b2
Add reference to implicit_include_directories from include_directories() [skip ci]
...
Closes #3153
7 years ago
Joel Klinghed
6266089866
Allow gcovr >= 3.1 to be used to generate html coverage report
...
Modern gcovr includes html generation support so if lcov and
genhtml are not available fallback to gcovr.
Kept lcov and genhtml as default so to not surprise existing
users of coverage-html with the different output of gcovr.
gcovr added html support in 3.0 but as there already is a test
for 3.1 because of the changes to -r/--rootdir I opted to only
allow html generation for >= 3.1 to keep things simple.
7 years ago
Hemmo Nieminen
4f8db1fe47
Add a release note snippet for the improved test setup selection.
7 years ago
Tim Ansell
36fc655272
Adding a "Projects using Meson" to Community section ( #3138 )
7 years ago
Hylke Bons
f1ce7af2d5
[skip ci] docs: Add reference table for language args parameter names ( #3126 )
7 years ago
Aleksey Filippov
2377f22ea5
Document pkgconfig.generate() requires parameters
7 years ago
Jussi Pakkanen
0b6f90caf7
Added release note snippet for csc support.
7 years ago
Adam C. Foltzer
3332f33649
Fix Rust compiler-private library ambiguity
...
When building a Rust target with Rust library dependencies, an
`--extern` argument is now specified to avoid ambiguity between the
dependency library, and any crates of the same name in `rustc`'s
private sysroot.
Includes an illustrative test case.
7 years ago
Peter Hutterer
6b550ae91f
Allow for missing install_dir in install_data()
...
The documentation doesn't require it and the interpreter code works around the
possibility of it being None. The ninja backend code however fails with
File "/home/whot/code/meson/mesonbuild/backend/ninjabackend.py", line 796, in generate_data_install
dstabs = os.path.join(subdir or None, plain_f)
File "/usr/lib64/python3.6/posixpath.py", line 78, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
If install_dir is missing, default to datadir/projectname
7 years ago
TÖRÖK Attila
8c376a7fe4
docs: Add a paragraph to the Manual about @EXTRA_ARGS@. [skip ci]
7 years ago