Nirbheek Chauhan
c5e7774e27
Update all versions to 0.41.2
7 years ago
Nirbheek Chauhan
19f39ad059
gnome module: Add -lfoo after -Lbar LDFLAGS
...
Otherwise they won't take effect
7 years ago
Nirbheek Chauhan
b9caaf94bc
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.
7 years ago
Elliott Sales de Andrade
3bf44e21bb
Add example of generated header in docs.
7 years ago
Elliott Sales de Andrade
cf01adbf77
Add all internal dep rpaths to gnome module builds.
...
Running gtkdoc on a shared library that depends on another shared
library would fail otherwise.
7 years ago
Elliott Sales de Andrade
a07fd0cb7c
Add build include directory to gtkdoc source paths.
...
This enables gtkdoc to produce documentation on files that were
generated, using configure_file, for example.
7 years ago
Elliott Sales de Andrade
7c8ba60384
Use absolute path to target dir within gnome module.
...
Stuff like gtkdoc may not be run in the top-level build directory, so
these paths need to be absolute.
Fixes #1950 .
7 years ago
Hemmo Nieminen
add7aa841f
Fix how rpath directories are handled.
...
Linking a library from a directory below the executable's directory
caused an invalid path to be written in the executable's RPATH.
7 years ago
Laurent Carlier
3e46680563
pkgconfig: avoid appending slash at Cflags
...
Otherwise it can break some compilations, see https://bugs.archlinux.org/task/54763
7 years ago
Hemmo Nieminen
1be7702637
Fix a missing path issue causing Python traceback.
...
A path was missing from a call to os.path.relpath when handling rpaths.
Fix this by assuming empty target directory means build root.
8 years ago
Hemmo Nieminen
cf83f0cec5
Add a test case for a "library at project root" use case.
8 years ago
Philippe Payant
d48f42ba99
Select release or debug libraries for Qt, based on buildtype.
...
See: https://github.com/mesonbuild/meson/issues/1979
8 years ago
Philippe Payant
4b84d136b9
Library names for Qt4 was incorrect.
...
Closes https://github.com/mesonbuild/meson/issues/1979
8 years ago
Jussi Pakkanen
1def456fc1
Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.
8 years ago
Nirbheek Chauhan
eebaef47f0
vala: Only add --use-header for unity builds
...
Closes https://github.com/mesonbuild/meson/issues/1969
8 years ago
Nirbheek Chauhan
920a7ef454
Add a test for ignoring not-found vala deps
...
https://github.com/mesonbuild/meson/pull/1986
8 years ago
Jens Georg
9593adecb9
Skip handling non-available dependencies
...
This way, an optional dependency can always be added on Vala targets without
meson adding --pkg
8 years ago
Jussi Pakkanen
defcea7fb5
Update version number for bugfix release.
8 years ago
Jussi Pakkanen
fa9fde5029
Storage object has changed so use values(). Closes #1963 .
8 years ago
Jussi Pakkanen
cccb932f8f
Expand magic markers on custom and run targets too. Closes #1681 .
8 years ago
Jussi Pakkanen
9baa740aa1
Only call to_native once per invocation.
8 years ago
Igor Gnatenko
f8c46951ef
Merge pull request #1956 from mesonbuild/fix1934
...
Handle both pkg-config and pkgconf argument order. Closes #1934 .
8 years ago
Jussi Pakkanen
c3591e5303
Handle both pkg-config and pkgconf argument order. Closes #1934 .
8 years ago
Jussi Pakkanen
3bc7651907
Merge pull request #1951 from mesonbuild/dedupfix
...
Preserve standalone -D arguments
8 years ago
Jussi Pakkanen
7c7dc0efde
Fix a stray variable renaming. Closes #1952 .
8 years ago
Jussi Pakkanen
1c34707aee
Preserve standalone -D arguments always.
8 years ago
Jussi Pakkanen
85a263a670
Failing test for -D dedupping.
8 years ago
Nirbheek Chauhan
73c06780f9
Make external library no-op when used with incompatible target ( #1941 )
...
* tests: Add a test for C library in Vala target
https://github.com/mesonbuild/meson/issues/1939
* Make external library no-op when used with incompatible target
This is how it used to behave earlier, but we accidentally regressed
Closes https://github.com/mesonbuild/meson/issues/1939
8 years ago
Jussi Pakkanen
f1996f7291
Use the Windows proof dir deleter consistently.
8 years ago
Nirbheek Chauhan
1441cb9812
wxwidgets: Fix usage of multiple dependency() calls
...
This was broken because the class property will say True but the
object property will not be set. Store the value on the class property
and transfer to object in __init__. Just like PkgConfigDependency.
8 years ago
Nirbheek Chauhan
ea3e28dbb9
valgrind: Fix __init__ call
...
Adds a test so that this is catched later.
Closes https://github.com/mesonbuild/meson/issues/1937
8 years ago
Jussi Pakkanen
f75d394683
Update versions for new development.
8 years ago
Jussi Pakkanen
93681b0137
Updated version number for release.
8 years ago
Jussi Pakkanen
1944a7a66d
Merge pull request #1932 from centricular/fix-libpath-reordering
...
Preserve -L -l pairings fetched from external deps
8 years ago
Nirbheek Chauhan
1865425b4b
tests/unit/8: Rename to 9 and add -l flags
8 years ago
Jussi Pakkanen
8244f4c6a6
Created unit test to ensure linker arguments from consecutive dependencies are kept in order.
8 years ago
Nirbheek Chauhan
d23e6b34c7
Preserve -L -l pairings fetched from external deps
...
While adding link args for external deps, sometimes different
libraries come from different prefixes, and an older version of the
same library might be present in other prefixes and we don't want to
accidentally pick that up.
For example:
/usr/local/lib/libglib-2.0.so
/usr/local/lib/pkgconfig/glib-2.0.pc
/usr/local/lib/libz.so
/usr/local/lib/pkgconfig/zlib.pc
/home/mesonuser/.local/lib/libglib-2.0.so
/home/mesonuser/.local/lib/pkgconfig/glib-2.0.pc
PKG_CONFIG_PATH="/home/mesonuser/.local/lib/pkgconfig/:/usr/local/lib/pkgconfig/"
If a target uses `dependencies : [glib_dep, zlib_dep]`, it will end up
using /usr/local/lib/libglib-2.0.so instead of
/home/mesonuser/.local/lib/libglib-2.0.so despite using the pkg-config
file in /home/mesonuser/.local/lib/pkgconfig because we reorder the -L
flag and separate it from the -l flag.
With this change, external link arguments will be added to the
compiler list without de-dup or reordering.
Closes https://github.com/mesonbuild/meson/issues/1718
8 years ago
Jussi Pakkanen
da64da3617
Merge pull request #1919 from fmuellner/master
...
gnome: Guard all cflags passed to g-ir-scanner
8 years ago
Florian Müllner
a3dda095bc
gnome: Guard all cflags passed to g-ir-scanner
...
While g-ir-scanner's compatible -I and -D flags cover what most dependencies
use, there's no guarantee that a dependency's cflags don't include more
exotic flags that conflict with the tool's own options.
For a real world example, mozjs-38 has '-include some-header-file.h', which
translates to '--include nclude another-file-to-scan.h' for the scanner;
unless for some reason there's an 'nclude' GIR available on the system,
the target will thus fail.
For this purpose, g-ir-scanner allows explicitly marking some flags as
preprocessor/compiler flags by guarding them with --cflags-begin and
--cflags-end. Make sure it is used this for all cflags, not only for
global and project flags.
8 years ago
Florian Müllner
4b8dc3b746
gnome: Fix includedir cflags
...
Include directories are passed with the -I flag to both the compiler
and g-ir-scanner, not as input files.
8 years ago
Jussi Pakkanen
f792641b34
Merge pull request #1927 from centricular/gir-rpath-link
...
Work around GNU ld bug with -rpath,$ORIGIN
8 years ago
Jussi Pakkanen
b8f02047be
Merge pull request #1900 from centricular/abstract-extdeps
...
dependencies: Add a new class ExternalDependency
8 years ago
Nirbheek Chauhan
1e42241ef3
gnome: Don't assume that a C compiler is being used
8 years ago
Nirbheek Chauhan
d38f3deaed
gnome: Work around GNU ld bug with -rpath,$ORIGIN
...
g-ir-scanner doesn't understand -rpath, so we use -L instead which
has the same effect.
Closes https://github.com/mesonbuild/meson/issues/1911
8 years ago
Nirbheek Chauhan
868d85d2e5
tests: Make SDL2 compulsory now that it's in the CI image
8 years ago
Nirbheek Chauhan
9308a6d923
tests: Add Boost unit tests and project tests on Windows
...
Boost tests are disabled on Windows for now because the detection
is actually completely broken. Once that's fixed (after the release)
we can enable it again.
8 years ago
Nirbheek Chauhan
56462e1439
compilers: Fix build_unix_rpath_args indentation
...
No code changes
8 years ago
Nirbheek Chauhan
c1e9c757eb
tests: Increase dependencies coverage a bit more
8 years ago
Nirbheek Chauhan
b6b3905325
vs: Sometimes WindowsSDKVersion is unset
...
https://ci.appveyor.com/project/jpakkane/meson/build/2871/job/ti4qpoptd5tk19sn
8 years ago
Nirbheek Chauhan
1300766429
vs: Always check VSINSTALLDIR in case VisualStudioVersion is unset
...
This happened on the CI, so it could happen on people's machines too:
https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/p2n70hg01vp3dkgl
https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/7ifh64mi1999guxt
8 years ago