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
Jussi Pakkanen
2ab4b397a8
Merge pull request #2350 from tintou/master
...
Add 'install' keyword to the gettext macro
2017-09-22 21:30:08 +03:00
Johan Bjäreholt
102c1d09fe
Replaced references to 'mesontest'
...
'mesontest' is deprecated and is now 'meson test'
Replaced all references to 'mesontest' with 'meson test' and added a note of the change in the bottom of the page
2017-09-22 21:29:20 +03:00
Johan Bjäreholt
e129cf7278
Replaced references to 'mesonconf'
...
mesonconf is deprecated and all references of it has been replaced with 'meson configure'
2017-09-22 21:29:20 +03:00
Corentin Noël
34c6cccde2
Update i18n markdown page to add the new install parameter
2017-09-22 01:08:10 +02:00
Nirbheek Chauhan
751d59d952
Update Reference-manual.md
...
Add notes about not using full_path() unless absolutely necessary.
2017-09-20 21:05:50 +00:00
Nirbheek Chauhan
6c38b1f281
docs: Document the new str.strip() feature
2017-09-20 13:39:24 +05:30
Nirbheek Chauhan
140c463b01
Add detail to the command: kwarg of custom targets
2017-09-20 06:55:54 +00:00
Ola x Nilsson
307b69b69a
Fix table in Compiler-properties
...
hotdoc requires a pipe character for the right edge
2017-09-19 21:45:40 +03:00
Jussi Pakkanen
076f3c53bd
Merge pull request #2263 from ximion/dlang
...
d: Add an easy way to use D-specific features
2017-09-18 20:23:56 +03:00
tense-du
0b0448f8f2
Fix getting meson page ( #2341 )
...
* Replaced obsolete tt tag
2017-09-18 20:13:46 +03:00
tense-du
bbda3c7adb
Replaced obsolete tt tag
2017-09-18 18:41:16 +03:00
Jussi Pakkanen
b9154dd07c
Added a page for reference tables.
2017-09-18 18:28:10 +03:00
Matthias Klumpp
c3c37fac38
docs: Document the D support
2017-09-17 21:36:23 +02:00
Martin Blanchard
26e731c7ca
get-unquoted: Queue a release note entry mentioning the new method
2017-09-15 23:24:15 +02:00
Martin Blanchard
777cd24063
get-unquoted: Mention get_unquoted() in reference manual
2017-09-15 22:43:01 +02:00
tense-du
a59175d1f3
Fix videos page ( #2321 )
...
* Removed duplicate title in doc theme.
* Removed stray lower than tag.
* Replaced obsolete frameborder attribute.
2017-09-15 11:34:47 +05:30
Jussi Pakkanen
7de61aac12
Clarify that MESONINTROSPECT may have multiple parts.
2017-09-12 21:20:29 +03:00
Iñigo Martínez
540c928e30
gnome: Docbook generation for gdbus_codegen()
...
Add new 'docbook' argument which generates Docbook documentation for
each D-Bus interface. The docbook argument will be used as prefix
in `PREFIX`-NAME.xml pattern, and NAME will be replaced by the D-Bus
interfaces.
2017-09-12 20:29:24 +03:00
Jussi Pakkanen
72a6683c6f
Permit overriding find_program from the cross file.
2017-09-04 22:47:12 +03:00
Patrick Griffis
04b2c67b7d
gnome.gdbus_codegen(): Add annotations keyword
...
Fixes #2123
2017-09-04 19:26:04 +03:00
Jan Niklas Hasse
c9d97a58c5
--unity flag needs {on,off,subprojects} parameter
2017-09-04 18:49:56 +05:30
Patrick Griffis
2acf737b4b
pkgconfig: Document url keyword
...
Closes #2272
2017-09-03 13:23:37 +03:00
Daniel Stone
552c15b978
Alphabetize compiler.compiles()
2017-08-31 20:24:21 +01:00
Daniel Stone
e1ffae0580
Add Compiler.get_supported_arguments()
...
Add a helper for the common pattern of:
args_to_use = []
foreach arg : candidate_args
if cc.has_argument(arg)
args_to_use += arg
endif
endforeach
Replaced with:
args_to_use = cc.get_supported_arguments(candidate_args)
2017-08-31 20:24:20 +01:00
Iñigo Martínez
35ef236c43
add support for cups dependencies ( #2255 )
...
* add support for cups dependencies
libcups has its own cups-config tool rather than using pkg-config.
This adds support for cups-config, based on pcap-config and
sdl2-config implementations.
This change also includes the unit test case and documentation for
cups dependency object implementation, and libcups2 dep to CI image.
2017-08-31 21:38:15 +03:00
Jussi Pakkanen
a415fafe56
Rewrapped more files.
2017-08-26 23:41:53 +03:00
Jussi Pakkanen
90c7b5ea58
Rewrapped some markdown files.
2017-08-24 17:51:44 +03:00
Jussi Pakkanen
f381284969
A full example for using the conf object. Closes #2235 .
2017-08-22 23:08:44 +03:00
Jussi Pakkanen
3ff76f62a2
Clarify immutability description. Closes #2234 .
2017-08-22 23:00:26 +03:00
Jussi Pakkanen
9b5a5c2e61
Wrapped and alphabetized the remaining modules.
2017-08-21 00:22:33 +03:00
Jussi Pakkanen
55dfe75fd7
Rewrapped and alphabetized the Gnome module.
2017-08-21 00:18:33 +03:00
Jussi Pakkanen
f19ae54974
Rewrapped lines of a few more files.
2017-08-21 00:08:28 +03:00
Jussi Pakkanen
01effa7178
Rewrap the rest of reference manual.
2017-08-21 00:02:47 +03:00
Jussi Pakkanen
bb67d64c8d
The last of the alphabetization.
2017-08-20 23:58:54 +03:00
Jussi Pakkanen
04d87c7b5d
And a few more alphas.
2017-08-20 23:39:40 +03:00
Jussi Pakkanen
b7b66fe516
More alphabetization.
2017-08-20 23:32:06 +03:00
Jussi Pakkanen
2d575757d6
Put some keyword arguments into alphabetical order to improve readability.
2017-08-20 23:16:27 +03:00
David Seifert
ece243d9ab
Add warning about `sources` in declare_dependency
2017-08-19 21:32:20 +03:00
TingPing
8a636052bd
docs: Clarify project() no longer requires a language
2017-08-19 14:31:47 -04:00
Mohammed Sadiq
747c3af52c
docs: fix typo
2017-08-18 10:29:05 -04:00
Jussi Pakkanen
62aabb5a8b
Missing version info added.
2017-08-17 15:28:59 +03:00
Jussi Pakkanen
e76ed84677
Documented the merge_from method.
2017-08-17 15:25:05 +03:00
Nirbheek Chauhan
e2cf999ad4
Users.md: link to the Meson Porting GNOME goal
2017-08-17 10:57:13 +00:00
Florian Zwoch
3fda1ba3ed
docs: fix generator code sample
2017-08-17 00:21:42 +03:00
Konstantin Mochalov
6bf65d8763
Documentation: fix broken link (now in docs)
...
Was [external link on github wiki](https://github.com/mesonbuild/wrapweb/wiki ), now markdown file in docs
2017-08-15 22:10:36 +05:30
Jussi Pakkanen
30bb55df3d
Missing dots are fun.
2017-08-15 02:06:53 +03:00
Jussi Pakkanen
244ef43651
Bumped version number for new development.
2017-08-15 01:54:07 +03:00
Jussi Pakkanen
a629642f1e
Bump numbers for new release.
2017-08-15 00:43:54 +03:00
Tim-Philipp Müller
4e476c82f3
gnome: add mkenums_simple()
...
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.
Features:
- optional function declaration decorator such as GLIB_AVAILABLE
- optional extra header prefix (e.g. for include needed for decorator)
- optional extra body prefix (e.g. for additional includes)
- optional function name prefix (e.g. to add leading underscores)
Fixes issue #1384
2017-08-14 19:40:36 +03:00
Jussi Pakkanen
55165ba504
Added documentation for pcap dependency.
2017-08-13 23:42:38 +03:00
Tim-Philipp Müller
60b83a5f0a
gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc()
2017-08-13 21:17:04 +03:00
Nirbheek Chauhan
ca4778a500
Update wrap-mode FAQ
2017-08-10 10:40:02 +00:00
Nirbheek Chauhan
b663937f8c
Clarify what an "external dependency" is
...
And add a link to the Dependencies.md page.
2017-08-09 10:32:25 +00:00
Jussi Pakkanen
d94e06db21
Merged singleexe branch.
2017-08-06 17:00:51 +03:00
Jussi Pakkanen
06f195e9ec
Merged exclude_dir branch.
2017-08-06 13:09:46 +03:00
Elliott Sales de Andrade
5cb1d00537
Allow excluding files from `install_subdir`
...
The install_subdir command now accepts a new `exclude` keyword argument
that allows specified files to be excluded from the installed
subdirectory.
2017-08-06 03:58:35 -04:00
Elliott Sales de Andrade
d9f01ffcea
Disallow language keyword for unsupported deps.
...
Also, document it in the manual.
2017-08-05 16:44:39 -04:00
Jussi Pakkanen
e765091c2e
Updated release notes.
2017-08-05 17:00:22 +03:00
Elliott Sales de Andrade
4c9611c2d6
Add documentation for new MPI dependency.
2017-08-04 20:07:07 -04:00
Jussi Pakkanen
61a05f26e3
Add option to disable implicit include directories. Closes #2139 .
2017-08-05 00:26:13 +03:00
Jussi Pakkanen
a800c96f99
Add option to limit maximum number of concurrent link processes.
2017-08-05 00:24:59 +03:00
Jussi Pakkanen
e95ba1ada5
Merge pull request #2113 from nyorain/vulkan
...
Vulkan dependency module
2017-08-04 22:38:04 +03:00
nyorain
12a5a50058
Add vulkan dependency to release notes
2017-08-04 19:50:36 +02:00
Bruce Richardson
bc3327ae6e
doc: describe joining strings using the + symbol
2017-07-31 12:00:16 -04:00
Patrick Griffis
43a03aa950
docs: Add gettext example to porting autotools guide
2017-07-31 10:30:41 +01:00
Nirbheek Chauhan
d5fc10fbd8
Fix wording about array immutability
2017-07-24 21:52:16 +00:00
Nirbheek Chauhan
8dd1d6d646
Clarify array immutability and document indexing
2017-07-24 21:50:09 +00:00
Luca Mattiello
f169f5f55b
docs: fix typos in Localization.md
2017-07-24 20:53:55 +02:00
Emmanuele Bassi
6ba6c174ba
Document the newly added gnome.genmarshal() argument
2017-07-23 16:30:34 +01:00
Luca Mattiello
5f6add79e0
Fix typo in Unit-tests.md
2017-07-22 19:03:39 +03:00
Igor Gnatenko
8232259450
docs: add missing parentheses
...
[skip ci]
2017-07-22 16:42:18 +02:00
Jussi Pakkanen
bff37a90fc
Merged buildrpath branch.
2017-07-21 22:19:07 +03:00
Jussi Pakkanen
979efce04a
Merge pull request #1955 from jon-turney/exe-implib
...
Support implibs for executables on Windows
2017-07-21 20:06:46 +03:00
Jussi Pakkanen
e82edc179f
Check for manual attempts to set rpath and update docs.
2017-07-21 19:40:54 +03:00
Nirbheek Chauhan
26834a6198
Link to compiler properties for compiler ids list
...
[skip ci]
2017-07-21 11:29:30 +00:00
Nirbheek Chauhan
675a755e5c
Update compiler ids in Compiler-properties.md
2017-07-21 11:26:31 +00:00
Nirbheek Chauhan
93d1b2989e
Updates to the reference manual
...
Typos, add details about how subprojects work, document compiler ids.
2017-07-21 10:33:58 +00:00
Jon Turney
887e4d1318
Add to release note
2017-07-20 21:13:42 +01:00
Jon Turney
8f859a5105
Make the name of the executable implib configurable
2017-07-20 21:11:56 +01:00
Jon Turney
3fa3922cea
Support implibs for executables on Windows
...
Add a boolean 'implib' kwarg to executable(). If true, it is permitted to
use the returned build target object in link_with:
On platforms where this makes sense (e.g. Windows), an implib is generated
for the executable and used when linking. Otherwise, it has no effect.
(Rather than checking if it is a StaticLibrary or SharedLibary, BuildTarget
subclasses gain the is_linkable_target method to test if they can appear in
link_with:)
Also install any executable implib in a similar way to a shared library
implib, i.e. placing the implib in the appropriate place
Add tests of:
- a shared_module containing a reference to a symbol which is known (at link
time) to be provided by the executable
- trying to link with non-implib executables (should fail)
- installing the implib
(This last one needs a little enhancement of the installed file checking as
this is the first install test we have which needs to work with either
MSVC-style or GCC-style implib filenames)
2017-07-20 21:11:56 +01:00
Jussi Pakkanen
e89b6cdd10
Merge pull request #1374 from mesonbuild/simd
...
Add support for SIMD detection
2017-07-19 15:50:04 +03:00
Jussi Pakkanen
c8981ff111
Added documentation for SIMD module.
2017-07-19 13:36:54 +03:00
TingPing
acb7e3aaa0
docs: Add HexChat to users... again
2017-07-18 19:03:38 -04:00
Tim-Philipp Müller
e1000f1454
Update Users.md: point to upstream GLib repo
...
And link to Gtk+ master branch instead of wip/meson.
2017-07-19 00:00:27 +01:00
TingPing
4d898e494e
docs: Add HexChat to list of users
2017-07-18 18:58:39 -04:00
Nirbheek Chauhan
c9059c7e70
Add more projects to Users.md
2017-07-18 22:55:33 +00:00
Jussi Pakkanen
2009fdbd43
Merge pull request #2072 from centricular/fix-gtkdoc-rpath
...
Various gtkdoc fixes
2017-07-17 16:50:53 +02:00
Alexis Jeandet
e1b24765af
Removed minor typos in documentation.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-07-17 16:44:51 +02:00
Alexis Jeandet
361b09c491
Added a missing closing parenthesis in the last example
...
There was a missing parenthesis at the end of the last example.
2017-07-17 13:07:48 +02:00
Nirbheek Chauhan
04ac7a4844
gnome.gtkdoc: Handle absolute install_dirs correctly
...
Must prepend DESTDIR in case it's absolute. Also document that by
default it is relative to the gtk-doc html directory.
2017-07-17 12:40:41 +05:30
Gabríel Arthúr Pétursson
fd653d070d
Make base options accessible via get_option()
2017-07-15 10:21:41 +02:00
Gabríel Arthúr Pétursson
39c7b0492c
Allow both address- and undefined behavior sanitizers at the same time
2017-07-15 09:59:09 +02:00
Marty Plummer
cb05b2aab0
docs: fixed meson syntax for Generating-sources.md
...
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
2017-07-13 16:31:24 +02:00
Amit D
166728067d
Fix typo in release notes for 0.41
...
'is is' -> 'is'
Fixes #2027
2017-07-04 16:55:23 -04:00
Gabríel Arthúr Pétursson
d5e47ade80
doc: Mention that C/C++ language versions can be set per-target
2017-07-04 16:54:59 -04:00
Jussi Pakkanen
304841d1c7
Update instructions to disable pch.
2017-07-02 19:22:50 +03:00
Adam C. Foltzer
af7c8ab449
add changelog for Rust crate-type support
2017-07-02 10:06:58 -04:00
Bruce Richardson
f12ece4547
pkgconfig: add support for extra_cflags
...
Allow the user to pass in arbitrary cflags for putting into the generated
pkgconfig file.
2017-06-29 11:03:20 -04:00
Jussi Pakkanen
dfb0414d9c
Merged Genie support.
2017-06-27 19:01:00 +03:00
Jussi Pakkanen
3262be23dc
Fixed issues raised in review.
2017-06-26 23:29:42 +03:00
Jussi Pakkanen
3dca1c99a6
Updated release notes.
2017-06-26 21:10:27 +03:00
Alistair Thomas
efef8f4f38
Add Genie to release notes
2017-06-26 13:58:15 +01:00
Alistair Thomas
cca0fa8154
Recognise .gs extension as a Vala source
2017-06-26 13:57:52 +01:00
philtherobot
1821598fbb
Improve the example by explaining modules ( #1981 )
...
* Improve the example by explaining modules
* Refer to Qt documentation for its list of modules
* Add a sweet link to Qt's doc.
2017-06-22 17:17:21 -04:00
Jussi Pakkanen
65d5ec5f18
Merge pull request #1922 from acfoltzer/rust-improvements
...
Enhance Rust support
2017-06-22 06:12:27 -04:00
Patrick Griffis
39c75d39fb
docs: Fix version reference
2017-06-22 06:02:50 -04:00
Jussi Pakkanen
624709bfc1
Merge pull request #1920 from QuLogic/hg-dist
...
Add Mercurial dist support
2017-06-21 04:48:29 -04:00
Jussi Pakkanen
2d659b649b
Merge pull request #1924 from mesonbuild/tingping/yelp-fixes
...
Various yelp fixes
2017-06-21 04:36:30 -04:00
Igor Gnatenko
f171faee32
docs: be more consistent
2017-06-21 04:35:43 -04:00
Adam C. Foltzer
69b18cf7e9
rename `crate_type` to `rust_crate_type` per @TingPing
2017-06-14 08:39:41 -07:00
Elliott Sales de Andrade
79d005364f
Add Mercurial dist support.
2017-06-13 00:32:43 -04:00
Jussi Pakkanen
f75d394683
Update versions for new development.
2017-06-12 23:22:48 +03:00
Patrick Griffis
a88ad9173a
gnome.yelp(): Default symlink_media to true
2017-06-10 12:42:28 -04:00
Adam C. Foltzer
bdd4c45b17
Enhance Rust support
...
- Adds a `crate_type` kwarg to library targets, allowing the different
types of Rust [linkage][1].
- Shared libraries use the `dylib` crate type by default, but can also
be `cdylib`
- Static libraries use the `rlib` crate type by default, but can also
be `staticlib`
- If any Rust target has shared library dependencies, add the
appropriate linker arguments, including rpath for the sysroot of the
Rust compiler
[1]: https://doc.rust-lang.org/reference/linkage.html
2017-06-09 15:14:02 -07:00