Aleksey Filippov
a64d16c6bb
Add build snippet for non-unique-target-names feature
7 years ago
Marvin Scholz
eadaf92794
Docs: Mention important macOS caveat about function detection [ci skip]
7 years ago
Nirbheek Chauhan
0e6a332d0c
Document that override_find_program works on configure_file [skip ci]
...
Also link to the release notes snippet from the Reference manual
7 years ago
Jussi Pakkanen
f489aa77e5
Added documentation [skip ci]
7 years ago
Martin Hostettler
3f7c6cf3d6
Improve generation of pkg-config files for static only libraries.
...
Previously pkg-config files generated by the pkgconfig modules for static libraries
with dependencies could only be used in a dependencies with `static: true`.
This was caused by the dependencies only appearing in Libs.private even
if they are needed in the default linking mode. But a user of a
dependency should not have to know if the default linking mode is static
or dynamic; A dependency('somelib') call should always pull in all
needed pieces into the build.
Now for meson build static libraries passed via `libraries` to the generate
method automatically promote dependencies to public.
7 years ago
Alberto Sartori
717f7db67e
improve suite of meson test ( #3369 )
7 years ago
TingPing
c04862e24c
docs: Fix syntax highlighting in release notes
7 years ago
Jussi Pakkanen
b1c086b24d
Explain the choice of implementation language. [skip ci]
7 years ago
Nirbheek Chauhan
487526bfff
Trivial update to meson vim syntax + typo in snippet [skip ci]
7 years ago
Nirbheek Chauhan
d7b401f7d7
gdbus_codegen: Return 2 targets when docbook is disabled
...
Also document this behaviour, test it, and fix the return value from
the module -- we create one target and return it thrice to the build
file
7 years ago
Iñigo Martínez
351b59f03a
gnome: Split header and code targets in gdbus_codegen()
...
The development version of `glib` (2.55.2) has acquired support for
generating gdbus header and source code files separately. This
allows dependencies to be more fine grained on those targets
depending only on the header.
7 years ago
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
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