Commit Graph

207 Commits

Author SHA1 Message Date
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
Sam Thursfield 22cfd44221 Document that the gnome.generate_vapi() function can install the .vapi 2017-06-08 23:35:14 +03:00
Jan Chren (rindeal) bafc607ab1 Update reference manual and release notes 2017-06-07 23:51:20 +02:00
Jussi Pakkanen 4ed68e7934 Merge pull request #1866 from ebassi/mkdb-args
Add mkdb_args support to gnome.gtkdoc()
2017-06-07 21:01:49 +03:00
Emmanuele Bassi f0a32ced54 Document the mkdb_args argument for gnome.gtkdoc()
Include the newly added argument.
2017-06-07 18:17:20 +01:00
Jussi Pakkanen 7c03bfb463 Merged needs_exe_wrapper branch. 2017-06-07 20:09:43 +03:00
Tim Hutt b6dbb4ecc6 Improve user-defined function wording & link to FAQ 2017-06-07 20:03:14 +03:00
Tim 0e027c9616 Document that user-defined functions and methods are unsupported
Fixes #1870
2017-06-07 20:03:14 +03:00
Tim b54e1d29fe Add a note about multi-line statements by ending the line with \ 2017-06-03 21:30:30 +03:00
Bálint Aradi 706b3cafab Add version for configure_file extension in reference manual 2017-06-03 16:51:58 +02:00
Bálint Aradi 28dededf08 Update reference manual and release notes 2017-06-03 16:51:58 +02:00
Jussi Pakkanen 4828b46b73 Use relative rpath so builds are reproducible. 2017-06-03 16:03:53 +03:00
Chris Mayo 0e9852a457 docs: Fix broken page links 2017-06-03 16:03:04 +03:00
TingPing e34edae240 docs: Complete list of targets from i18n.gettext() 2017-06-03 16:02:08 +03:00
Ole André Vadla Ravnås b32c757073
environment: Add needs_exe_wrapper for overriding auto-detection.
This is useful when build_machine appears to be compatible with
host_machine, but actually isn't. For example when:
- build_machine is macOS and host_machine is the iOS Simulator
- the build_machine's libc is glibc but the host_machine libc is uClibc
- code relies on kernel features not available on the build_machine
2017-05-29 21:05:57 +02:00
TingPing e351b39430 docs: Add mention of target made by gnome.gtkdoc()
Mentioned in #1844
2017-05-24 19:52:46 +03:00
Jussi Pakkanen 07f117e385 Merge pull request #1664 from QuLogic/codecov
Enable code coverage
2017-05-22 20:22:12 +03:00
Ole André Vadla Ravnås ef736bb084 Update the Frida URL and description. 2017-05-22 20:02:19 +03:00
Elliott Sales de Andrade 17328e7019 Add coverage export for tests. 2017-05-21 16:11:31 -04:00
Jussi Pakkanen 189784b474 Merge pull request #1792 from jon-turney/custom_target_vs_module_defs
Allow vs_module_defs to use a custom_target
2017-05-21 21:31:14 +03:00
cagatay-y 79b0111018 Update link
Gcovr homepage is moved. Updated the link to the new URL.
2017-05-21 21:20:24 +03:00
Jussi Pakkanen 3bd6130df2 Merge pull request #1823 from jon-turney/master
Improve documentation of build target and custom target objects
2017-05-21 16:20:35 +03:00
cagatay-y a24a91b29e Fix typo 2017-05-21 16:19:08 +03:00
cagatay-y 55a9b6c240 Change repeated word 2017-05-21 16:18:55 +03:00
Elliott Sales de Andrade a2a28c72ea Remove extra temporary file from docs. 2017-05-21 16:18:33 +03:00
Jussi Pakkanen e985d930af Updated list of users and minor sitemap cleanup. 2017-05-20 11:59:42 +03:00
Jon Turney 75099510f1 docs: The return value of executable() is a builttarget object.
Make executable() consistent with all other functions returning a
buildtarget, it's return type is a buildtarget object.
2017-05-19 18:00:42 +01:00
Jon Turney cad8386733 docs: Document the object returned by custom_target 2017-05-19 18:00:29 +01:00
Jon Turney f12a7f2ad0 docs: Correct list of things that are a build target to include shared_module 2017-05-19 17:01:46 +01:00
Jon Turney 5c7f9797c3 docs: Move "build target object" from "build-in objects" to "returned objects"
Also move "run result" object so objects are sorted alphabetically
2017-05-19 17:01:43 +01:00
Jon Turney 66a6ea984b Allow vs_module_defs to use a custom_target
Allow vs_module_defs to use a custom_target
Add a test and update documentation
2017-05-16 19:56:32 +01:00
Guillaume Poirier-Morency 05c431c013 vala: Fix typos and cover dependencies without pkg-config file in docs 2017-05-13 23:45:13 +03:00
Guillaume Poirier-Morency a7fee9bd48 vala: Cover 'find_library' usage and be more explicit for default install directories in docs 2017-05-13 23:45:13 +03:00
Jussi Pakkanen c2282f9382 Merged rust_args branch. 2017-05-13 22:51:43 +03:00
Jussi Pakkanen 84012a5099 Merge pull request #1669 from mesonbuild/dist
Create a dist target
2017-05-12 19:37:31 +03:00
Jon Turney e99cfdfbc7 Make vs_module_defs: do something for gcc on Windows as well
Module definition files may be useful when building with gcc on Windows also
(e.g. if the existing build uses them, if exports are aliased, if we were
retro enough to export by ordinal, etc.)

Add the .def file to the link command line when using gcc on Windows

Run the appropriate windows tests irrespective of compiler.
2017-05-12 18:56:43 +03:00
Jussi Pakkanen 1e14438a38 Merge pull request #1735 from dcbaker/list-of-files
Allow passing a list of Files to CustomTarget. Closes #1720
2017-05-12 18:54:46 +03:00
Jussi Pakkanen 8068fc0d1d Add test and release notes. 2017-05-12 14:25:27 +03:00