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
Jussi Pakkanen
aed11affd3
Update depfixer to fix rpaths also on OSX.
7 years ago
Jussi Pakkanen
269db40445
Merge pull request #3326 from jeandet/generated_qrc
...
[Qt module] Add File object support for generated or not qrc files
7 years ago
Xavier Claessens
8a70e7cff5
Remove arbitrary [-1024,1024] limit in cross_compute_int()
...
Copy the algorithm used by autoconf.
It computes the upper and lower limits by starting at [-1,1] and
multiply by 2 at each iteration. This is even faster for small numbers
(the common case), for example it finds value 0 in just 2 compilations
where old algorithm would check for 1024, 512, ..., 0.
7 years ago
Jussi Pakkanen
23a7fe06e9
Merge pull request #3366 from xclaesse/pkgconfig-dup-version
...
Remove duplicates in generated pkgconfig required versions
7 years ago
Xavier Claessens
da0f0f02e5
pkgconfig generator: Remove duplicates in required versions
7 years ago
Jussi Pakkanen
d6e71d0c56
Merge pull request #3312 from MathieuDuponchelle/alwaysfallback
...
new wrap-mode: forcefallback
7 years ago
Paul I
09dd9e20df
VS backend: dedup AdditionalDependencies
7 years ago
Christoph Behle
40715dec21
Move entry in build_funct_dict to correct position.
...
The entry 'subdir_done' is now at its right place.
7 years ago
Mathieu Duponchelle
1105ba3afd
[fixup]: rename test after rebase
7 years ago
Mathieu Duponchelle
1ad04bed96
[fixup]: export symbols explicitly
7 years ago
Aleksey Filippov
52eb5b195e
Remove commit_zero recommendation from wrap documentation, use action commit [skip ci]
7 years ago
Xavier Claessens
142f51a7b5
pkgconfig generator: Fix crash when passing a SharedModule
7 years ago
Mathieu Duponchelle
5b13742ff4
[fixup]: trivial fix after rebase
7 years ago
Mathieu Duponchelle
ad296976f0
[fixup]: extension_module: allow specifying install_dir OR subdir
7 years ago
Mathieu Duponchelle
423f2f5c92
[fixup]: Address PKG_CONFIG env vars comments
7 years ago
Mathieu Duponchelle
ae460f94ce
[fixup]: Add test
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
Mathieu Duponchelle
1ad8b49755
run_unittests: disable testsetup_selection
...
It randomly stays stuck and breaks CI
7 years ago
Mathieu Duponchelle
e1b138a21b
Implement a generic python module
...
With contributions from Håvard Graff
7 years ago
Jussi Pakkanen
aef1a81b35
Merge pull request #2711 from xclaesse/both-library
...
Add both_library() to build both shared and static library
7 years ago
Iñigo Martínez
c1fcc8ab3e
gnome.gtkdoc: Fix generated files used as content files
...
The `gtkdoc` function in the `gnome` module is able to use generated
files as content files, but the path to these is wrong in the used
command line.
7 years ago
Alexis Jeandet
4b98898c7c
[Qt module] refactor b4cd949c48
...
Since relative path in qrc files are always relative to qrc file
itself then we just need to check that normpath(qrc file + resource)
doesn't start with build dir path, this would mean that the resource is
generated.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
b4cd949c48
[Qt module] More qrc fixes
...
When several qrc files are given all qrc files dependencies were mixed.
Fixed non working use case:
When user try to guess build dir layout and add use a relative
path between a generated qrc file and a generated resource.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
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
Xavier Claessens
809f018333
extract_all_objects: Also extract generated sources
7 years ago
Xavier Claessens
5eef325ab6
pkgconfig generator: Only skip dependencies when using shared_library()
...
It is weird and inconsistent to have different pc file depending on
default_library value when using library() or build_target(). We should
skip dependencies only when user explicitly want shared library only.
7 years ago
Xavier Claessens
cf0e997167
Remove duplicated list of known kwargs for build targets
7 years ago
Jussi Pakkanen
98267e104e
Merge pull request #3242 from thejk/coverage_targets
...
Use standalone coverage script for legacy targets
7 years ago
Jussi Pakkanen
519cd40a06
Merge D feature flag fix branch
7 years ago
Sébastien Wilmet
51a1952172
gtkdochelper: print warnings
...
The GTK-Doc commands output was never printed, except in case of error.
So there was no way to see the warnings.
https://github.com/mesonbuild/meson/issues/2396
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
Jussi Pakkanen
c72b4e1b9c
Imported Debian fixes by Matthias Klose.
7 years ago
Jussi Pakkanen
3e23f36a3c
Fix detection to work with newer Java compilers.
7 years ago
Somasekhar Penugonda
7f89083363
Fix for issue in cpp.py
...
Change-Id: Iad9623d20eb5086528dacefce5d2f4f9bb9d0312
7 years ago
Matthias Klumpp
2dc1e87cae
Ensure D feature flags get applied to all D files
...
This resolves issue #3337
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
Alexis Jeandet
16c4a3b4f8
Added link to documentation and examples for find_library replacement ( #3346 )
7 years ago
Alexis Jeandet
ebeb248c07
[Qt module] Added generated resource test case + some fixes
...
Subdir is already in generated resource path.
Some PEP8 fixes.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
fd245ce5cf
[Qt module] add some logic to detect if resources are in build dir
...
In order to handle generated resources embedded in qrc file, we
need to be able to detect if files pointed from qrc are in build
directory or not.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
John Ericson
0325d58863
docs: Expand on compiler vs compilee build host and target ( #3308 ) [skip ci]
7 years ago
Jussi Pakkanen
8eadc9d068
Merge pull request #3277 from chitranjali/shared-mod-link
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
Jussi Pakkanen
be3387d937
Merge pull request #3322 from sarum9in/run_timeout
7 years ago
behlec
37d379ebe5
Allow meson build file to exit early. ( #2808 )
7 years ago
Matthias Klumpp
6146353f45
Don't crash when using d_module_versions for pkg-config
7 years ago
Matthias Klumpp
ad2ab56e5f
Add test to check that D feature flags get applied to all files
...
This adds regression tests for issue #3337
7 years ago
chitranjali
cc6be2e43d
Fixing flake8
7 years ago
chitranjali
34cb503c85
PR review changes closes #2865
7 years ago