David Fort
6dea177774
add support for cmakedefine in configure_file()
...
The added format argument for configure_file allows to specify the kind of
file that is treated. It defaults to 'meson', but can also have the 'cmake'
or 'cmake@' value to treat config.h.in files in the cmake format with #cmakedefine
statements.
7 years ago
Aleksey Filippov
52eb5b195e
Remove commit_zero recommendation from wrap documentation, use action commit [skip ci]
7 years ago
Mathieu Duponchelle
a4341b3004
[fixup]: add since to FAQ
7 years ago
Mathieu Duponchelle
31f0242a6f
new wrap-mode: forcefallback
...
This can be useful to make sure that a project builds when
its fallbacks are used on systems where external dependencies
satisfy the version requirements, or to easily hack on the sources
of a dependency for which a fallback exists.
7 years ago
Xavier Claessens
68f9846b7c
Add both_libraries() to build both shared and static libraries
...
Also support default_library='both' to make library() build both shared
and static libraries.
Closes #484
7 years ago
Isaiah Norton
b515eac75c
Add link to `meson` github topic [skip ci]
...
Lists a number of projects that are not shown here.
7 years ago
scontini76
1c1277de7c
Update Pkg-config-files.md [skip ci]
...
typo: seems that configure_files doesn't exists, maybe you mean configure_file here. [skip ci]
7 years ago
John Ericson
0325d58863
docs: Expand on compiler vs compilee build host and target ( #3308 ) [skip ci]
7 years ago
makise-homura
0bea50816b
Removed non-latin characters from lcc snippet
...
It is supposed that it may become source of failures
while passing AppVeyor tests.
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
makise-homura
7c1132b681
Added lcc support release snippet
7 years ago
makise-homura
72f477748f
[skip ci] Added lcc and e2k CPU to reference tables
7 years ago
Somasekhar Penugonda
e62b8109eb
Updates to CPP support and update review changes
7 years ago
Aleksey Filippov
780d301c1c
Add test(depends) documentation
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