Commit Graph

557 Commits

Author SHA1 Message Date
Robert Ancell 83665a482a gdbus_codegen: Support arbitrary extra arguments 2018-06-07 15:14:07 +00:00
Jon Turney 1f5c6d62bf More clearly explain portability issues with linking to a module
Refine #3277

According to what I read on the internet, on OSX, both MH_BUNDLE (module)
and MH_DYLIB (shared library) can be dynamically loaded using dlopen(), but
it is not possible to link against MH_BUNDLE as if they were shared
libraries.

Metion this as an issue in the documentation.

Emitting a warning, and then going on to fail during the build with
mysterious errors in symbolextractor isn't very helpful, so make attempting
this an error on OSX.

Add a test for that.

See also:
https://docstore.mik.ua/orelly/unix3/mac/ch05_03.htm
https://stackoverflow.com/questions/2339679/what-are-the-differences-between-so-and-dylib-on-osx
2018-06-07 12:57:39 +00:00
Xavier Claessens b7d442150d Move <lang>_args to coredata.compiler_options 2018-06-06 20:02:37 +00:00
Yudi Matsuzake 4ee07dd165 docs: Fix dictionary syntax [skip ci] 2018-06-06 18:18:23 +00:00
Nirbheek Chauhan 0565262be3 Add documentation for Builtin options and bitcode
Also add a test that ensures that new base options and compiler options
are always documented.
2018-06-06 07:53:10 +00:00
Nirbheek Chauhan c3ffc1a249 docs: Add a release notes snippet about FeatureNew 2018-06-05 15:57:57 +00:00
Jon Turney 7a15214a69 Have the windows.resource_compiler() preprocesor write a depfile
When using binutils's windres, we can instruct it to invoke the preprocessor
in such a way that it writes a depfile, so that dependencies on #included
files are automatically tracked.

Not implemented for MSVC tools, so skip testing it in that case.
2018-06-03 21:06:23 +00:00
Jon Turney 7e08e958c0 Allow substitutions in custom_target() depfile:
Allow substitutions in custom_target() depfile: as well as in command:
2018-06-03 21:06:23 +00:00
Jon Turney 50aabc0129 Document @PLAINNAME@ and @BASENAME@ substitutions in custom_target(command:)
Since f3ff8fe6 (0.39.0), this has a common implementation with the same
substitution in generators, but I think they existed earlier.

@BASENAME@ is used internally by the custom target generated by
windows.compile_resources()
2018-06-03 21:06:23 +00:00
Nirbheek Chauhan 0b9162c08d docs: Add a section about the MSI installer [skip ci] 2018-06-03 18:59:24 +00:00
Nirbheek Chauhan fbc7160214 docs: Expand section on how to install Python3 and Meson
With screenshots!
2018-06-03 18:59:24 +00:00
Filipe Brandenburger 968f2c63af Add release-notes snippet for the extended install_mode 2018-06-02 04:50:32 +00:00
Filipe Brandenburger 73decf31f1 Update reference manual to include 'install_mode' where supported 2018-06-02 04:50:32 +00:00
Jon Turney 7a48f6dfcd Clarify how Windows resource compiler uses the include path 2018-06-01 20:21:09 +00:00
Jon Turney aa27f7cec9 Add a depend_files: keyword to windows.compile_resources()
Expose depend_files: from the custom_target this creates.

This is the change suggested in #2815, with tests and documentation added.

Fixes #2789 (duplicate #2830)
2018-06-01 20:21:09 +00:00
Mathieu Duponchelle 14750b50ea configure_file: Add output_format kwarg (#3636)
* configure_file: Add output_format kwarg

* docs: Reference-manual.md output_format was added in 0.47 [skip ci]
2018-06-01 17:53:07 +00:00
Dylan Baker 17cb364046 [skip ci] docs: cross reference tables from manual (#3656)
* docs/reference-manual: link to references tables

Currently the reference manual entries for *machine.cpu_family() and
*machine.system() have incomplete (and wrong) information. Rather than
continue to duplicate this information just link to the reference
tables.

* docs/Reference-manual: fix link target

The IDs in hotdoc are always lowered, so this pointed to the right page,
but didn't go to the heading.

* docs/Reference-manual: link compiler.get_id directly to tables

Currently it goes round about to an entry that doesn't add much
information and points to the reference table. Instead just point to the
reference table.
2018-06-01 15:19:36 +00:00
Dylan Baker 583e9c4af6 docs: Update cpu families (#3651) [skip ci]
Add several archs to the CPU family table

ppc64, ppc64le, Itanium,HP PA-RISC, sparc v9 (64 bit)

This covers most of the sparc systems in use today.
2018-06-01 11:31:38 +00:00
Jon Turney 0092e6d908 Mention private_headers keyword in Qt dependency documentation [skip ci]
Also, put discussion of Qt dependencies *before* the example in the Qt5
module documentation.
2018-05-31 13:15:47 +00:00
Jon Turney 809336833c Improve dependency() documentation [skip ci]
Mention that the dependency name will also be searched for as a framework on
OSX.

Note that additional dependency-specific keywords may be used by custom
dependency lookup.
2018-05-31 13:15:47 +00:00
Jon Turney 82c81a5d82 Document OpenMP dependency [skip ci]
PR #1852 only adds mention of this to the release note.

I think it's useful to have a list of all dependency names which are treated
specifically in Dependency.md, so add 'thread' and 'openmp'.
2018-05-31 13:15:47 +00:00
Nirbheek Chauhan 27b290d6df Add check_header to Reference manual and release notes [skip ci] 2018-05-30 15:25:39 +05:30
Nirbheek Chauhan c87c42b736
Document how to set the default name_prefix and name_suffix [skip ci]
Else people (like me) try to use the old behaviour where
setting it to `''` would use the default.

https://gitlab.gnome.org/GNOME/glib-networking/issues/33
2018-05-30 13:27:24 +05:30
Jussi Pakkanen cc3e0bc469
Merge pull request #3491 from jeandet/qt_private_headers
Qt private headers
2018-05-27 23:50:30 +03:00
Michael Mera 1ff15f527b Make install doc less surprising for new users [skip ci] 2018-05-27 23:49:16 +03:00
Alexis Jeandet 7cfe970cef [Qt module] private_headers kwarg documentation reformulation
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-05-27 21:20:42 +02:00
Jussi Pakkanen 41ab5166e4
Merge pull request #3476 from filbranden/intbase1
Add support for octal and binary int literals
2018-05-24 22:21:40 +03:00
Aleksey Filippov 5f5360470f Clarify that configuration_data()'s copy is immutable 2018-05-24 22:19:22 +03:00
Filipe Brandenburger 5572bbc6cc Document octal and binary integer literals in syntax.
Also add a release notes snippet for it.
2018-05-23 14:07:56 -07:00
Jussi Pakkanen 55a0831bc3
Merge pull request #3383 from mesonbuild/nirbheek/configure-file-nodata
configure_file: Add a new action 'copy'
2018-05-22 21:09:19 +03:00
Jussi Pakkanen 9ecd92c6fe
Merge pull request #3490 from MathieuDuponchelle/dict_builtin
Add new built-in type, dict
2018-05-22 20:46:26 +03:00
Jussi Pakkanen f4194d4dbc
Merge pull request #3523 from taisei-project/run_command_check
Add 'check' kwarg for run_command
2018-05-22 20:34:45 +03:00
randy408 710a3f7f20 Update Users.md 2018-05-22 20:29:56 +03:00
Andrei Alexeyev 2e2d14c9d7
Update documentation for run_command [skip ci] 2018-05-22 04:45:40 +03:00
Andrei Alexeyev d72f9a3e0f
Add 'check' kwarg for run_command
Closes #3516
2018-05-22 04:45:31 +03:00
Mathieu Duponchelle fe6fc59ee7 dict: add since annotations 2018-05-22 00:17:42 +02:00
Nirbheek Chauhan 4b9393e165 docs: Add manual entry for configure_file copy kwarg 2018-05-22 02:37:07 +05:30
Mathieu Duponchelle 10e7566ed8 dict: fix CI issues 2018-05-21 00:19:31 +02:00
Mathieu Duponchelle 1de7dce414 dict: Document, add release snippet 2018-05-20 22:39:33 +02:00
Nirbheek Chauhan e9a181a545
docs: Add a warning about find_program().path()
See: https://github.com/mesonbuild/meson/issues/3552
2018-05-09 18:30:00 +05:30
Nirbheek Chauhan 0eb4423b85
subprojects.md: document --wrap-mode
Closes https://github.com/mesonbuild/meson/issues/3534
2018-05-09 14:54:26 +05:30
Nirbheek Chauhan 43f9318afa
Reference-manual: compiler checks
Document that compiler checks are self-contained and
do not add arguments from anywhere else.
2018-05-09 14:43:08 +05:30
Roy Buitenhuis 554266d6f2 docs: Added reference to pkg-config module page [skip ci] 2018-05-02 11:46:13 +00:00
Alexis Jeandet bfcd71cecb [skip ci] fixed broken link to repoinit.py script in wrap documentation
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-05-01 20:18:15 +03:00
Alexis Jeandet f3a8efc11b Added Added Qt's private header support with pkg-config
Just use the same approach than qmake to generate private headers path

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-30 11:43:54 +02:00
Alexis Jeandet 51868d00e7 [Qt module] Privates headers: added documentation
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28 17:45:23 +02:00
Jussi Pakkanen 9b0453d3e9
Merge pull request #3225 from filbranden/fixperms3
Introduce install_umask to determine permissions of files in install tree. Default it to 022
2018-04-26 23:14:00 +03:00
Jussi Pakkanen 0af029e08c Wrap-git files can have tags as well as commit ids. [skip ci] 2018-04-25 21:01:59 +03:00
Nirbheek Chauhan eb6b56216c
Tweak some 0.46 release note language [skip ci] 2018-04-24 08:21:37 +05:30
Nirbheek Chauhan 63b4cd5f6d
Users.md: Add bolt [skip ci] 2018-04-24 08:07:20 +05:30