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
2018-04-03 15:38:01 -04:00
Isaiah Norton
b515eac75c
Add link to `meson` github topic [skip ci]
...
Lists a number of projects that are not shown here.
2018-04-02 19:48:54 +03:00
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]
2018-03-31 09:50:35 -07:00
John Ericson
0325d58863
docs: Expand on compiler vs compilee build host and target ( #3308 ) [skip ci]
2018-03-29 22:31:41 +03:00
makise-homura
0bea50816b
Removed non-latin characters from lcc snippet
...
It is supposed that it may become source of failures
while passing AppVeyor tests.
2018-03-29 21:55:48 +03:00
behlec
37d379ebe5
Allow meson build file to exit early. ( #2808 )
2018-03-29 21:29:45 +03:00
Xavier Claessens
b4aee4675a
pkgconfig: Add a simple version of the generator ( #3284 )
2018-03-29 01:19:42 +03:00
makise-homura
7c1132b681
Added lcc support release snippet
2018-03-28 21:58:06 +03:00
makise-homura
72f477748f
[skip ci] Added lcc and e2k CPU to reference tables
2018-03-28 20:55:11 +03:00
Somasekhar Penugonda
e62b8109eb
Updates to CPP support and update review changes
2018-03-27 17:04:26 -05:00
Aleksey Filippov
780d301c1c
Add test(depends) documentation
2018-03-25 01:33:33 +00:00
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
2018-03-23 21:09:32 +02:00
Alistair Thomas
47f71d1a41
docs: Update test() to include that a program found with find_program() can be used [skip ci]
2018-03-23 21:09:32 +02:00
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.
2018-03-23 21:08:11 +02:00
Eric Engestrom
13fa1fb74f
docs/FAQ: fix typo [skip ci]
2018-03-23 06:41:17 -07:00
Jussi Pakkanen
150351cfdd
Document the new and improved review guidelines. [skip ci]
2018-03-22 01:05:25 +02:00
Jussi Pakkanen
30827b5644
Do not install configure_file output if install_dir is empty. Closes #3270 .
2018-03-21 21:25:47 +02:00
Marvin Scholz
1c8d4bf05b
Docs: Correct env variable SCAN_BUILD to SCANBUILD
2018-03-20 22:28:07 +02:00
Jussi Pakkanen
657836b555
Merge pull request #3223 from sarum9in/rename
...
Add install_data() rename parameter
2018-03-20 00:15:01 +02:00
Aleksey Filippov
5f81d36207
Add install_data() rename snippet
2018-03-19 22:13:41 +00:00
Aleksey Filippov
d63fff06d9
Add install_data() rename documentation
2018-03-19 22:13:34 +00:00
Felipe Corrêa da Silva Sanches
50c66f1f5c
fixing some typos on the icestorm page
2018-03-19 10:49:02 +00:00
Martin Hostettler
b89309df64
Project-templates.md: Fix help command name [skip ci]
2018-03-18 20:29:00 +02:00
Jussi Pakkanen
24ae120868
Turn deprecated commands into errors.
2018-03-14 00:20:00 +02:00
Jussi Pakkanen
ae0e469b06
Merge pull request #3145 from thejk/gcovr
...
Support gcovr >= 3.1 and add gcovr html report as fallback
2018-03-13 21:12:16 +02:00
Jussi Pakkanen
a20c5ccd13
Fix snippet heading to conform to new formatting rules.
2018-03-13 00:06:12 +02:00
Jussi Pakkanen
6585427a7d
Merge pull request #3131 from sarum9in/pkgconfig
...
Pkgconfig accepts libraries and pkgconfig-dependencies in requires/requires_private parameters
2018-03-12 23:02:36 +02:00
Aleksey Filippov
98fc7a82dc
Link "External commands" page from run_command() reference [skip ci]
2018-03-12 13:44:31 +00:00
Jon Turney
6f8e541f55
docs: update for mesonintrospect.py -> meson introspect
...
mesonintrospect is deprecated since 59a35c4c
(PR #2067 )
2018-03-11 00:51:18 +02:00
Jon Turney
e79454c2a4
docs: Add custom dependencies missing documentation
...
Add some brief documnentation about custom dependency lookups which are
implemented but not documented.
2018-03-11 00:51:18 +02:00
Jon Turney
e6d6b609cc
docs: polish documentation for custom dependency detectors
...
Various grammar fixes
Fix syntax of MPI examples
Add Qt4
2018-03-11 00:51:18 +02:00
Jon Turney
64bc2b84f8
docs: update system cross file documentation
...
Works on all non-Windows since cf98f5e3
(PR #3119 )
2018-03-11 00:51:18 +02:00
Jon Turney
fa0386d98a
docs: remove reference to mesongui
...
mesongui was removed in 71f18226
(PR #574 )
2018-03-11 00:51:18 +02:00
Jukka Laurila
52c50da6c7
Refactor: Add log.error and log.exception to reduce code duplication.
2018-03-10 18:04:52 +02:00
Eduardo Lima (Etrunko)
ccd198a849
Gnome-module.md: Add information about output files to mkenums()
...
[skip ci]
2018-03-07 19:57:47 +02:00
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.
2018-03-07 19:57:20 +02:00
Jussi Pakkanen
e98ae58d0e
Merge pull request #3086 from sarum9in/declare-link-whole
...
Add declare_dependency() link_whole parameter
2018-03-06 21:08:54 +02:00
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>
2018-03-06 21:07:16 +02:00
Jukka Laurila
048508c989
Make "meson help" and "meson help <subcommand>" do the expected thing.
2018-03-06 14:02:55 +02:00
Nirbheek Chauhan
9e18e4c703
Improve vcs_tag documentation [skip ci]
...
Document that dependencies must be explicitly signalled, just like with a custom target.
2018-03-06 15:33:00 +05:30
Aleksey Filippov
4de02cb5b0
Document declare_dependency() link_whole parameter
2018-03-06 01:44:26 +00:00
Jukka Laurila
8f340ffb8d
Generate meson.build based on existing source files when meson init is run in a non-empty directory.
2018-03-06 00:05:17 +02:00
Jussi Pakkanen
9819bc9c56
Add Python minimum version requirement in release notes. [skip ci]
2018-03-05 20:34:07 +02:00
TÖRÖK Attila
3e92a86db4
doc: Fix a syntax error in an example in 'Generating sources'. [skip ci]
2018-03-05 05:51:41 -08:00
Jussi Pakkanen
2521e43baf
Add missing code block end marker.
2018-03-04 21:11:53 +02:00
Jussi Pakkanen
daaae647d7
Updated information for new release.
2018-03-04 20:27:34 +02:00
Jussi Pakkanen
f53e8b8812
Explain change of default better. [skip ci]
2018-03-04 18:25:36 +02:00
Tim Ansell
69ff980fbc
Fixing broken language arguments [skip ci]
...
Missing ending pipe was causing it to fail to render.
2018-03-04 14:45:44 +02:00
Aleksey Filippov
e41f00f834
Document wxwidgets dependency, closes #3159 [skip ci]
2018-03-04 00:11:19 +00:00
Jussi Pakkanen
38145e0251
The "outputs" kwarg should be "output" and rewrapping. Closes #3166 . [skip ci]
2018-03-04 00:57:42 +02:00
Aleksey Filippov
5f0aeafa38
Add jpakkane's answer to "Why must all subprojects be inside a single directory?" [skip ci]
2018-03-01 21:52:08 +02:00
Aleksey Filippov
15537f5e8e
Add links to Subprojects.md page from subproject() and subproject object documentation [skip ci]
2018-03-01 21:52:08 +02:00
Aleksey Filippov
5e6c47a4b2
Add reference to implicit_include_directories from include_directories() [skip ci]
...
Closes #3153
2018-03-01 15:30:15 +00:00
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.
2018-02-27 21:58:05 +01:00
Hemmo Nieminen
4f8db1fe47
Add a release note snippet for the improved test setup selection.
2018-02-25 21:46:28 +02:00
Tim Ansell
36fc655272
Adding a "Projects using Meson" to Community section ( #3138 )
2018-02-25 20:22:42 +02:00
Jussi Pakkanen
8a68dc0179
Merge pull request #3132 from mesonbuild/csc
...
Visual Studio C# compiler support and some fixes
2018-02-25 14:03:02 +02:00
Hylke Bons
f1ce7af2d5
[skip ci] docs: Add reference table for language args parameter names ( #3126 )
2018-02-25 14:02:34 +02:00
Aleksey Filippov
2377f22ea5
Document pkgconfig.generate() requires parameters
2018-02-24 23:41:12 +00:00
Jussi Pakkanen
0b6f90caf7
Added release note snippet for csc support.
2018-02-25 01:16:06 +02:00
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.
2018-02-22 22:16:58 +02:00
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
2018-02-22 20:26:16 +02:00
TÖRÖK Attila
8c376a7fe4
docs: Add a paragraph to the Manual about @EXTRA_ARGS@. [skip ci]
2018-02-22 04:40:06 +05:30
Iñigo Martínez
5dc32b4af1
Users.md: Add GVfs
...
Add GVfs to the meson users list
2018-02-21 19:06:55 +02:00
Felipe Borges
926d6ca7e8
Users.md: Add GNOME Boxes and GNOME Usage
...
[skip ci]
2018-02-21 19:06:21 +02:00
Aleksey Filippov
79865474c7
Add references to CI and recommendation to disable them for doc only changes [skip ci]
2018-02-20 21:21:18 +05:30
Nirbheek Chauhan
a374eb08e9
Users.md: lightdm-webkit2-greeter no longer uses meson [skip ci]
2018-02-20 21:07:38 +05:30
Nirbheek Chauhan
86e8d587cb
docs: Add subproject warning for source_root and build_root [skip ci]
2018-02-20 16:45:27 +05:30
Nirbheek Chauhan
bc3a26d759
Users.md: Add libzim, which only uses meson
...
[skip ci]
2018-02-20 14:21:01 +05:30
Nirbheek Chauhan
93e983a49a
Users.md: Update some old/broken URLs
...
[skip ci]
2018-02-20 00:22:53 +05:30
Eric Engestrom
8a2d9e0ad4
docs: fix missing backtick
2018-02-19 23:46:34 +05:30
Nirbheek Chauhan
e6c9923b47
Users.md: link to github page for easy editing
...
Also mention that software on the list will be tested for regressions.
2018-02-19 23:15:39 +05:30
Jussi Pakkanen
55a7c265c1
Merge pull request #2863 from jon-turney/exit-status-on-exception
...
Verify that failing tests are failing with an error, not a python exception
2018-02-18 13:54:50 +02:00
Aleksey Filippov
8baaa7b866
Add python3 dependency documentation and link it from python3 module
...
Closes #3009
2018-02-18 13:50:33 +02:00
David Fort
8c12c2acc3
doc: fix typo in icestorm documentation
2018-02-17 13:32:46 +02:00
Jussi Pakkanen
6d7a8a0ea4
Merge pull request #2999 from peteruithoven/patch-1
...
Localisation documentation alternative
2018-02-16 00:11:39 +02:00
Martin Ejdestig
b06a4901cb
Document how to set options in subprojects
2018-02-16 00:08:28 +02:00
Jussi Pakkanen
2c18e4eb25
Updated docs to do "meson wrap" instead of "wraptool".
2018-02-15 23:41:57 +02:00
Jon Turney
2a64ed855e
Verify that failing tests are failing with an error, not a python exception
...
PR #2527 suggests "making failing tests more strict about failing
gracefully".
To achive this, make meson exit with distinct exit statuses for meson errors
and python exceptions, and check the exit status is as expected for failing
tests.
I can't see how to write a test for this, within the current framework.
You can test this change by reverting the fix (but not the test) from commit
1a159db8
and verifying that 'test cases/failing/66 string as link target'
fails.
2018-02-15 12:51:24 +00:00
Amit D
abd6db24f9
Update Users.md ( #3063 )
2018-02-14 20:14:15 +02:00
Daniel Foré
a99ae81043
Add an example for gresource
2018-02-13 21:26:43 +02:00
Amit D
74306a9301
Update Users.md
2018-02-13 21:18:59 +02:00
Jussi Pakkanen
c4892fb386
Space fix.
2018-02-12 22:32:39 +02:00
Jussi Pakkanen
262eeb7e9e
Clarify that int options are available since 0.45.0.
2018-02-12 21:36:03 +02:00
Amit D
e0ec5491a0
Update Users.md ( #3050 )
2018-02-12 21:42:43 +05:30
Andrea G
030c39f33e
Use the same name for the conf_data variable
...
Before, each example used a different variable name making them more difficult to understand for a novice.
2018-02-12 19:48:57 +05:30
Andrea G
d589cc26c7
Add missing closed parenthesis
2018-02-12 19:48:30 +05:30
Andrea G
bfc18017f1
Add missing code block
2018-02-12 19:48:09 +05:30
Amit D
32ff169880
Update Users.md
2018-02-11 22:09:32 +05:30
Sami Kerola
70a7cf30a1
Re-link remaining github wiki urls to mesonbuild.com site
2018-02-11 13:39:46 +02:00
Jon Turney
0774f319e8
Don't use --export-dynamic on Cygwin
...
After PR #2662 , running test case common/125 shared module/ on Cygwin gets
me:
$ ninja -C _build
ninja: Entering directory `_build'
[7/7] Linking target prog.exe.
/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols?
Also, fix doc for correct version of first apperance.
Future work: Notwithstanding the hint that ld gives, these options are not
equivalent, and it's not clear we should be using it here:
--export-all-symbols is the default behaviour, and if the exports are
restricted by explicit annotations or a .def file, this option might be
overriding that...
2018-02-08 23:51:06 +02:00
Martin Dagarin
a9654c8533
Fixed typo
...
Fixed typo in section Other install commands, typo was in extension of data file
2018-02-08 23:50:19 +02:00
Amit D
aaee113ee2
Update Users.md
2018-02-08 23:49:51 +02:00
Jon Turney
7bfcf68777
Add get_pkgconfig_variable(default:)
...
Also use that to squelch the warning for internal uses which handle the
variable missing case (just gnome at the moment)
A follow up to PR #2914
2018-02-08 00:35:38 +02:00
Amit D
2b0973acd9
Add wlroots to Users.md
2018-02-08 00:34:28 +02:00
Jussi Pakkanen
0cc90ae234
Add style guide documentation.
2018-02-08 00:33:44 +02:00
Jussi Pakkanen
54d7817087
User options can "yield to" a user option of the same name in superproject. Closes ##2853.
2018-02-08 00:33:44 +02:00
Peter Uithoven
587aa3a8cd
Add GETTEXT_PACKAGE as project argument
2018-02-07 21:39:24 +01:00
Jussi Pakkanen
0204895143
Expose integer options to build option files.
2018-02-07 22:10:04 +02:00
Jussi Pakkanen
66b14e20cc
Merge pull request #3010 from sarum9in/elide_directory
...
Add strip_directory keyword for install_subdir() function
2018-02-05 22:34:09 +02:00
Jussi Pakkanen
a288b524bc
Add support for hex int literals.
2018-02-05 22:33:48 +02:00
Aleksey Filippov
f5917d261c
Use text keyword for directory example code blocks
2018-02-05 01:28:07 +00:00
Aleksey Filippov
65afa967d0
Add strip_directory=true example for multi-component path
2018-02-05 01:28:07 +00:00
Aleksey Filippov
79d8f2adbf
Fix misprint in strip_directory example
2018-02-05 01:28:07 +00:00
Aleksey Filippov
13f91840e3
Clarify multi-component source directory behavior of install_subdir()
2018-02-05 01:28:07 +00:00
Aleksey Filippov
549f9a41e5
Rename install_subdir() option elide_directory to strip_directory
2018-02-05 01:28:07 +00:00
Aleksey Filippov
8ca3cc0c3d
Add elide_directory keyword for install_subdir() function
...
If elide_directory=true install_subdir() installs directory contents
instead of directory itself, eliding name of the source directory.
Closes #2869 .
2018-02-05 01:28:07 +00:00
Jussi Pakkanen
4637cf4e95
Fix run target documentation. Closes #1793 .
2018-02-04 19:06:02 +02:00
Jussi Pakkanen
bfa6c8d074
Merge pull request #2938 from acfoltzer/rust-cross-merge
...
Add cross-compilation support for `rustc`
2018-02-04 00:44:09 +02:00
Jussi Pakkanen
f25070ec08
Merge pull request #2228 from mesonbuild/icestorm
...
IceStorm FPGA experiment
2018-02-02 23:54:12 +02:00
Jussi Pakkanen
d59d371d77
Added dpdk to the list of users.
2018-02-02 20:56:09 +02:00
Jussi Pakkanen
80ac62c1a5
Added documentation to IceStorm module.
2018-02-02 20:30:14 +02:00
Jussi Pakkanen
0025cb03d2
Updated the video page.
2018-02-02 17:05:12 +02:00
Martin Kelly
36aca4cd3c
add meson.project_license() builtin
...
This Fixes #2941 .
2018-01-31 23:54:28 +02:00
Jussi Pakkanen
b62d670fb2
Add PipeWire to the list of users. Closes #2986 .
2018-01-31 23:50:22 +02:00
Adam Jackson
64ed9656f0
docs: Fix some HTML that leaked into the markdown
...
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-31 20:59:00 +02:00
Peter Uithoven
517e4369bb
Localisation documentation alternative
...
I had trouble figuring this out in a new project without the pot and po files. Seemed like there was a build in method to generate those. I understand that I might have made a few controversial choices like using a `LINGUAS` file and creating a sub `meson.build` file. I also don't fully understand why the `GETTEXT_PACKAGE` global wasn't mentioned.
2018-01-31 11:28:42 +01:00
Adam C. Foltzer
1d81efb03d
Add cross-compilation support for `rustc`
...
This patch is largely modeled on the relatively-straightforward code
for Fortran cross-compilation, so there might be some intricacies
missing.
2018-01-29 15:47:05 -08:00
Sami Kerola
26b16e74a9
docs: Add 'outlier' to users
...
This is a very small hello world style project, that I hope is useful
example for people who are getting started with meson.
2018-01-30 06:47:50 +11:00
Dylan Baker
bcc3cbb93e
dependencies: Allow setting config-tool binaries in cross file
...
This allows for much easier cross compiler configuration for tools like
LLVM. This patch does honor the 'native' keyword, and falls back to
searching PATH if the binary name is not specified.
I'd be fine with either removing the fallback behavior, or marking it as
deprecated and removing it later.
Fixes #2921
2018-01-30 06:45:58 +11:00
Andrei Alexeyev
5d68681c62
Taisei Project uses Meson
2018-01-30 06:27:05 +11:00
xknight
7049958de9
Fix typo in reference tables
...
The possessive form of "its" does not contain an apostrophe.
2018-01-27 19:52:34 +00:00
Stefan Seering
42554d5666
Typo.
2018-01-22 00:02:24 +02:00
Edward Betts
bdfcecd2c6
Correct spelling mistakes.
2018-01-19 15:53:00 +02:00
Dylan Baker
eec8721227
docs: Add Mesa, Libdrm, and IGT as meson users
2018-01-18 20:33:32 +02:00
Jussi Pakkanen
59d0434039
Removed two deprecations from 2016.
2018-01-17 22:12:43 +02:00
Raphael Salamon
b06b8c6452
docs: Document the `main` keyword of the `gtest` framework dependency
2018-01-17 21:00:45 +02:00
Jussi Pakkanen
6c2d40ac28
Move version info away from header.
2018-01-14 20:45:37 +02:00
Jussi Pakkanen
a5b2b90309
Merge pull request #2815 from taisei-project/fix_windows_compile_resources
...
[windows] make compile_resources use custom targets instead of generators
2018-01-13 19:38:48 +02:00
Jussi Pakkanen
d6bed2a77d
Merge pull request #2764 from mesonbuild/generatorpath
...
Generator outputs can have path segments
2018-01-13 19:00:38 +02:00
Andrei Alexeyev
fd4236085b
Add a release note snippet for the windows.compile_resources() change
2018-01-12 23:52:25 +02:00
Jussi Pakkanen
dfd368d405
Merge pull request #2803 from dcbaker/wip/freebsd-fixes
...
various BSD fixes
2018-01-09 22:08:00 +02:00
Nikita Churaev
de8018a17d
Add `export_dynamic` argument to `executable`. ( #2662 )
2018-01-09 21:36:13 +02:00
Dylan Baker
3b8e65911c
docs: Add netbsd to the reference table
2018-01-06 13:49:34 -08:00
Dylan Baker
1723a91af3
docs: Add dragonfly BSD to OS reference table
2018-01-06 13:49:34 -08:00
Dylan Baker
4d8552ef55
docs: Add freebsd to the reference table
2018-01-06 13:49:34 -08:00
Igor Gnatenko
711c3a28ba
doc/users: add ksh
2018-01-06 14:40:01 +02:00
Shlomi Fish
2ffdf48356
Add a missing space.
2018-01-02 20:29:32 +02:00
Shlomi Fish
468260504e
Correct some grammar.
2018-01-02 20:29:32 +02:00
Nirbheek Chauhan
2d08c190d0
docs: get_option returns relative paths for xxxdir options
...
[skip ci]
2018-01-02 19:01:34 +05:30
Jussi Pakkanen
4a189cf8c5
Add unit test that checks that the sample projects compile.
2017-12-31 23:24:29 +02:00
Jussi Pakkanen
82c8550fb6
Added documentation for project templates.
2017-12-31 23:18:08 +02:00
Jussi Pakkanen
dd3f49af0d
Merge pull request #2757 from xclaesse/pkgconfig
...
pkgconfig: Allow passing Dependency objects to library(_private)
2017-12-31 19:11:57 +02:00
Gabríel Arthúr Pétursson
2c1b45b2b2
Release notes for 0.43 are no longer preliminary
2017-12-29 23:53:47 +00:00
TingPing
ff81db83af
docs: Fix missing syntax highlighting
2017-12-28 07:08:24 -05:00
Nirbheek Chauhan
de3feb9625
docs: find_program native: is available since 0.43
2017-12-28 04:27:38 +05:30
Jussi Pakkanen
7fc46a3d06
Explain test setup a bit more.
2017-12-26 13:35:20 +02:00
Jussi Pakkanen
ac8d6087bf
Merge pull request #2334 from mesonbuild/promotedep
...
Add functionality to promote nested dependencies to top level.
2017-12-26 13:24:30 +02:00
Jussi Pakkanen
a5507404ab
Reformat and update doc page.
2017-12-26 13:11:57 +02:00
Passw
caf151afb9
add one more blank line at the tail of Disabler.md
...
From http://mesonbuild.com/Manual.html , it seems that `Disabler.md` messes up `Modules.md`
2017-12-26 13:09:40 +02:00
Xavier Claessens
f9c9e80d4a
pkgconfig: Update documentation
2017-12-20 19:09:08 -05:00
Jussi Pakkanen
b437977a60
Created documentation page for code contributions.
2017-12-20 21:05:42 +02:00
Jussi Pakkanen
34c03719a3
Added documentation.
2017-12-18 21:10:14 +02:00
Jussi Pakkanen
46c071ea5c
Add functionality to promote nested dependencies to top level.
2017-12-17 21:17:13 +02:00
Hemmo Nieminen
d232a80e90
Allow value 'if-release' for b_ndebug project option. ( #1896 )
...
When set, NDEBUG will be automatically defined for for release builds but
not for other build types.
2017-12-17 21:06:06 +02:00
Shawn Landden
202b2fedf3
make clickable
2017-12-17 13:27:21 +02:00
Shawn Landden
44415ab61e
Update Users.md
...
now only build system of systemd
2017-12-16 12:51:27 +02:00
Michael James Gratton
93c988b453
Enable re-compilation of GNOME gschema files if they have changed.
...
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
depend_files kwarg.
* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
other one that is permitted).
2017-12-13 21:31:32 +02:00
Michael James Gratton
1a50fe45e8
Add Geary to the list of users - will use meson for the next release.
2017-12-13 21:29:39 +02:00
Iñigo Martínez
cc952b055a
docs: Change variable in pkg-config example
...
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
2017-12-12 18:33:04 +00:00
Iñigo Martínez
514d21e6a4
docs: Add documentation to dependency variables
...
Meson is able to redefine variables when retrieving them from
`pkg-config` dependencies. However, the documentation is missing.
This patch adds documentation for this feature.
2017-12-12 18:33:04 +00:00
Jussi Pakkanen
04d5d017c5
Fix documentation on disabler behaviour with short circuiting.
2017-12-11 22:21:39 +02:00
Jussi Pakkanen
e674434389
Updated version number for new release.
2017-12-10 17:56:27 +02:00
Jussi Pakkanen
cbefb57ffe
Merge pull request #2745 from dcbaker/submit/haiku
...
small fixes for haiku
2017-12-10 14:42:53 +02:00
Ernestas Kulik
7ae5716f67
Touch up install_dir() documentation
...
It no longer removes the target tree before copying files.
2017-12-09 01:52:33 +02:00
Jon Turney
8d795a8403
Fix typo in release note snippet for get_unquoted
...
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
2017-12-09 01:51:29 +02:00
Dylan Baker
75bc95bd66
docs: Add haiku to reference table
2017-12-07 09:35:12 -08:00
Jussi Pakkanen
bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
...
Created disabler object type
2017-12-05 01:10:50 +02:00
Jussi Pakkanen
d3dcef7efc
Added documentation for disabler objects.
2017-12-05 01:09:15 +02:00
Jon Turney
87e6201214
Document and improve not-found dependency objects
...
Document dependency('', required:false) usage.
Avoid emitting 'Dependency found: NO'.
2017-12-05 01:04:57 +02:00
Jussi Pakkanen
6d03111638
Minor fixes.
2017-12-03 23:32:48 +02:00
Jussi Pakkanen
f8a419b27d
String arguments can permit arbitrary string values
...
by leaving out the choices keyword.
2017-12-03 22:27:55 +02:00
Jussi Pakkanen
aa6b576256
Reformatted and fixed running doc.
2017-12-02 19:55:44 +02:00
Jussi Pakkanen
793fc002fa
Merge pull request #2390 from dcbaker/submit/options-list
...
Add an array type to user options
2017-12-02 19:54:27 +02:00
Dylan Baker
6f25e93b52
cross: Implement support for loading cross files from system paths
...
One thing that makes cross compiling with meson a pain is the need for
cross files. The problem is not with cross files themselves (they're
actually rather brilliant in that they allow for a much greater deal of
flexibility than autotools hardcoded paths approach) but that each user
needs to reimplement them themselves, when for most people what they
really want is a cross file that could be provided by their distro, all
they really want is the correct toolchain.
This patch is the first stop to making it easier for distros to ship
their own cross files (and for users to put their's somewhere safe so
they don't get `git clean`ed. It allows the cross files (on Linux and
*BSD) to be stored in home and system paths (~/.config/meson/cross,
/usr/share/meson/cross, and /usr/local/share/meson/cross), and to be
loaded by simply by specificying --cross-file.
With this patch meson will check the locations its always checked first,
(is cross file absolute, or is it relative to $PWD), then will check
~/.config/meson/cross, /usr/local/share/meson/cross,
/usr/share/meson/cross, (or $XDG_CONFIG_PATH and $XDG_DATA_DIRS) for the
files, raising an exception if it cannot find the specified cross file.
Fixes #2283
2017-11-30 22:34:27 +02:00
Dylan Baker
c9351ce30c
Add new array type option
...
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
2017-11-29 14:14:41 -08:00
Jussi Pakkanen
5208e6524c
Merge pull request #2701 from dcbaker/submit/better-llvm-docs
...
Minor LLVM dependency cleanups for the next release
2017-11-29 22:00:49 +02:00
Zbigniew Jędrzejewski-Szmek
01ab4acf7f
docs: note when warning() was added
...
Followup for 1540e615f1
.
2017-11-29 21:13:49 +02:00
Dylan Baker
549e5928fb
docs: Add better documentation of the LLVM dependency
2017-11-28 17:34:48 -08:00
Jussi Pakkanen
746e70c0da
Merge pull request #2512 from dcbaker/wip/config-tool-variables
...
Add method to get values from config tool based dependency
2017-11-28 22:01:00 +02:00
Jussi Pakkanen
5bc1009109
Add if_found kwarg to subdir().
2017-11-27 23:22:47 +02:00
Jussi Pakkanen
11f1fc913d
Merge pull request #2690 from jsoref/spelling
...
Spelling
2017-11-27 01:36:43 +02:00
Josh Soref
9775e2b40d
useless: youtu.be reference
2017-11-26 17:30:17 +00:00
Jussi Pakkanen
f70760a510
Use new style dependencies in subproject documentation.
2017-11-26 17:58:21 +02:00
Jussi Pakkanen
2dab7c37df
Merge pull request #2676 from jeandet/add_qt_translations
...
Add qt translations
2017-11-26 17:12:47 +02:00
Josh Soref
7d1a1fd5b0
spelling: programming
2017-11-26 05:57:58 +00:00
Dylan Baker
a52c22dc06
docs: add documentation for config_tool variable method
2017-11-23 20:06:23 -08:00
Dylan Baker
e95628306d
docs: consolidate config-tool based dependencies
...
There are currently entries for cups and pcap; but not LLVM, GnuStep, or
WxWidgets. Instead of having an entry for each of these just have a
single entry for all of them, since the majority of the information is
duplicated between them anyway.
2017-11-23 20:06:23 -08:00
Alexis Jeandet
5462e65c44
[Qt module] Updated Dokerfile, added since 0.44 mention in doc
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 21:20:45 +01:00
Alexis Jeandet
5c5eac3571
[Qt module] Added translation files compilation method
...
- Added a new compile_translations method since preprocess was already quite
full and translations compilation is quite different from ui, qrc, cpp files
preprocessing.
- Updated translation.
- Updated test case.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 07:09:07 +01:00
Jussi Pakkanen
f9e88cd37e
Added release note mention of embedded Python in MSI packages.
2017-11-21 23:29:06 +02:00
Jon Turney
34d1d45094
docs: Add 'cygwin' to reference table for .system()
...
This aligns this table with the set of values tested for by test case
common/140
2017-11-19 18:18:29 +02:00
Christoph Behle
c653936700
Documentation: Add note about SCAN_BUILD
...
When running ninja scan-build you can use the environment variable
SCAN_BUILD to choose the right executable.
2017-11-19 18:17:31 +02:00
Jussi Pakkanen
708cdea861
Appveyor example now validates. Closes #2641 .
2017-11-19 18:17:02 +02:00
Lucas Werkmeister
5d9c72630a
Fix literal backslash syntax
...
In CommonMark, there are no backslash escapes in code spans, so only two backslashes in the source document are necessary to produce two backslashes in the output document.
2017-11-19 18:16:35 +02:00
Joergen Ibsen
6d85e10df9
docs: fix description of default_options
...
For dependency() and subproject(), the default_options argument can
override the defaults in the subproject's meson_options.txt, not in
its project() invocation.
Resolves #2612
2017-11-13 22:55:45 +02:00
Jussi Pakkanen
49eb33ff55
Merge pull request #2000 from t-chaik/tchaik/wip/get-unquoted
...
config data: add .get_unquoted() convenience method to get quoted string unquoted
2017-11-13 22:54:39 +02:00
Jussi Pakkanen
69bd87a716
Merge pull request #2511 from jon-turney/prefix-dependent-defaults
...
Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
2017-11-13 21:14:59 +02:00
TingPing
9b36e2d509
docs: Remove extra whitespace from i18n
2017-11-13 13:00:49 -05:00
Jussi Pakkanen
d2aa2f569b
Cleanupping.
2017-11-11 20:12:43 +02:00
Jussi Pakkanen
416a6fc235
Merge pull request #2444 from dcbaker/llvm
...
LLVM: Fix dynamic vs statically linking.
2017-11-08 21:16:50 +02:00
Jussi Pakkanen
8d6e3cad1b
Add description on how to use external and internal dependencies interchangeably.
2017-11-08 21:10:17 +02:00
Joergen Ibsen
68604a4855
docs: fix use of deps
2017-11-07 23:55:15 +02:00
David Pérez-Suárez
c647db96d5
Small changes for syntax hightlight
2017-11-06 20:55:46 +02:00
Jussi Pakkanen
cde0f4fca1
Merge pull request #2562 from 1ace/fix/mesontest
...
Remove references to `mesontest`
2017-10-31 22:17:47 +02:00
Paulo Antonio Alvarez
1540e615f1
interpreter: Add warning function
2017-10-31 22:17:01 +02:00
Eric Engestrom
b690c26aa2
docs: remove references to `mesontest`
...
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31 10:10:57 +00:00
Félix Piédallu
bb84c1d109
Add LibWmf as a specified dependency, and associated tests.
2017-10-31 01:05:46 +02:00
Jussi Pakkanen
68af8449d8
Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keyword
...
Qt5-Module: Add `moc_extra_arguments` keyword support.
2017-10-29 22:40:28 +02:00
Jon Turney
24549dbed5
Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
...
Rather than requiring a bit of boilerplate in every meson.build, which is
only documented in a comment in mesoncore.py, use sensible defaults for
sysconfdir, localstatedir and sharedstatedir depending on the prefix.
Fixes #1637
v2:
For clarity, give get_builtin_option_default() a noneIfSuppress argument,
rather than overloading prefix '' and None with special meanings.
2017-10-28 23:27:36 +01:00
Leif Middelschulte
a2478d4dab
documentation: adds new keyword usage to the given example.
2017-10-27 08:46:25 +02:00
Leif Middelschulte
f720e590b1
adds "since"-note for the new keyword to the documentation
2017-10-27 08:43:26 +02:00
Leif Middelschulte
a46d05acf9
updates the documentation to follow the list-style to explain arguments.
...
As per to @jon-turney's and @jpakanne's suggestion [0], this commit
changes the "prosa" documentation to a list-style one.
[0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
2017-10-27 08:38:15 +02:00
Mike Gilbert
426b258d91
docs: add pkgconfig to cross file example
2017-10-26 22:26:57 +03:00
Leif Middelschulte
050a56ad47
Qt5-Module: Add `moc_extra_arguments` keyword support.
...
This commit adds support for an additional `moc_extra_arguments` keyword.
It becomes especially handy, when `moc`-ed sources conditionally provide
`slots`, depending on compile time macros (i.e. defines).
2017-10-25 21:09:16 +02:00
Dylan Baker
9a43cb367a
docs: Add a snippet for LLVM static linking support
2017-10-25 10:14:46 -07:00
Jay Sherby
a3da9f77c4
Fix inconsistent header levels
2017-10-24 23:01:11 +03:00
Luis Menina
3dcc562e6d
docs: Fix date being interpreted as an ordered list item
2017-10-24 22:59:56 +03:00
Kevin Anderson
562c50f229
Update references from mesonconf to meson configure
...
Fixes #2372
2017-10-23 18:43:39 +02:00
Luis Menina
92866d8d5f
docs: Remove unnecessary trailing whitespaces
2017-10-23 18:43:04 +02:00
Luis Menina
36eb7bf0aa
docs: Markdown headers don't need trailing hash signs
...
This is a cosmetic change because github seems to interpret those
correctly. Nonetheless, it adds unnecessary noise and makes people
modifying the pages think it might be needed.
See syntax guide at https://guides.github.com/features/mastering-markdown/
2017-10-23 18:43:04 +02:00
Luis Menina
be36b05544
docs: Fix markdown in 'design rationale' page
2017-10-23 18:43:04 +02:00
Jonas Platte
e43332318b
Fix invalid example in Syntax.md
2017-10-23 18:42:16 +02:00
Jussi Pakkanen
3f18e3b89f
Arguments, not flags.
2017-10-13 19:03:04 +03:00
Carlos Garcés
f1c410fc98
Link to MesonPorting is not rendered as URL
2017-10-12 20:54:05 +03:00
Jon Turney
79b850dfcb
Typo and grammar fixes for 0.43.0 release note
2017-10-11 00:09:46 +03:00
TingPing
b5eb77ddff
docs: Improve code snippets in release notes
2017-10-08 17:58:23 -04:00
Jussi Pakkanen
b4fa4e37b9
Added release note page for 0.44.
2017-10-08 23:50:21 +03:00
Jussi Pakkanen
683947d943
Collated release note snippets to main file.
2017-10-08 22:36:06 +03:00
Rico Tzschichholz
8b8e1ee620
gnome: g-ir-scanner accepts multiple symbol-prefix arguments
2017-10-08 14:04:34 +03:00
TingPing
fd774fcb43
docs: Use consistent whitespace for gnome kwargs
2017-10-05 12:11:03 -04:00
David Strauss
52a4f19832
Update to not use deprecated mesonconf
2017-10-04 21:52:23 +03:00
Nirbheek Chauhan
0c3d58baba
Update Reference-manual.md
2017-10-03 06:57:46 +00:00
Nirbheek Chauhan
f10b15930b
Update Reference-manual.md
...
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
2017-10-03 05:49:24 +00:00
xarkes
a28db4577a
Fix typo and clarify library documentation
2017-10-03 01:15:30 +03:00
Jussi Pakkanen
9483875798
Merge pull request #2397 from mesonbuild/prebuilt
...
Better support for prebuilt shared libs
2017-10-02 19:09:08 +03:00
Mohammed Sadiq
35313c2a85
docs: Fix typo
...
Remove the quote before parens
2017-10-02 12:26:20 +01:00
Jussi Pakkanen
ec45c29c9d
Add rpath entries for all found libraries outside of system libraries.
2017-10-02 01:30:30 +03:00
Jussi Pakkanen
cb3d980a1f
Merge pull request #2282 from NickeZ/improve-boost
...
Improve boost
2017-10-02 00:09:04 +03:00
Patrick Griffis
893d101fff
gnome: Add header kwarg to generate_gir()
...
This is a commonly used flag so lets make it more obvious.
2017-10-01 20:15:21 +03:00
Alexis Jeandet
a9258923fa
Added include directory argument for Qt's Moc which is needed to build plugins.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-01 20:12:25 +03:00
Niklas Claesson
bbdba876af
Boost: Improve search algorithm
...
The new implementation will correctly pick boost from 3 possible
locations on windows and two locations on posix compatible OSs.
The new search algorithm also differentiates between debug and
release builds of Boost and multi or single threading builds.
It was also decided to map "Meson modules" to Boost software libraries
and not Boost modules since it there are a lot of options regarding
linking. Some modules can even be used either as headers-only or with
dynamic linking.
This commit also fixes a bug that prevented header-only use on Windows.
Fixes : #2274 #2239 #1803 #669
2017-10-01 18:49:27 +02:00
Jussi Pakkanen
7d49d1d2d7
Merge pull request #2373 from leiflm/svn-wraps
...
introduce svn wrap support
2017-10-01 01:21:12 +03:00
Jussi Pakkanen
b3362e350a
Added release note snippet for prebuilt shared libs.
2017-09-30 18:25:33 +03:00
Niklas Claesson
68275b32e8
Implement capture for generators
2017-09-29 23:29:44 +03:00
Reverend Homer
fd339759f2
fix typo?
2017-09-29 20:18:32 +03:00
Dylan Baker
dda5e8cadb
Allow CustomTarget's to be indexed
...
This allows a CustomTarget to be indexed, and the resulting indexed
value (a CustomTargetIndex type), to be used as a source in other
targets. This will confer a dependency on the original target, but only
inserts the source file returning by index the original target's
outputs. This can allow a CustomTarget that creates both a header and a
code file to have it's outputs split, for example.
Fixes #1470
2017-09-27 22:01:24 +03:00
Nirbheek Chauhan
92318c7660
docs: get_supported_arguments was added in 0.43.0
...
Closes https://github.com/mesonbuild/meson/issues/2371
[noci]
2017-09-26 10:00:28 +00:00
Leif Middelschulte
667d5d2d9f
introduce svn wrap support
2017-09-25 22:26:42 +02:00
Jussi Pakkanen
bea6b1a6f6
Merge pull request #2187 from centricular/fix-pcap-dependency
...
Fix pcap dependency, str.strip() now takes an argument, add cc.get_return_value()
2017-09-22 22:04:18 +03:00