Nirbheek Chauhan
ae9b23832e
ninja: De-dup libraries and use --start/end-group
...
Now we aggressively de-dup the list of libraries used while linking,
and when linking with GNU ld we have to enclose all static libraries
with -Wl,--start-group and -Wl,--end-group to force the linker to
resolve all symbols recursively. This is needed when static libraries
have circular deps on each other (see included test).
The --start/end-group change is also needed for circular dependencies
between static libraries because we no longer recursively list out all
library dependencies.
The size of build.ninja for GStreamer is now down to 6.1M from 20M,
and yields a net reduction in configuration time of 10%
8 years ago
Nirbheek Chauhan
d2dc38abd4
ninja: Use a set for target deps and ordered deps
...
This significantly reduces the size of build.ninja for GStreamer.
8 years ago
Nirbheek Chauhan
6963da616b
Don't add dependencies recursively while linking
...
We were doing this on the basis of an old comment, but there was no
test for it and I couldn't reproduce the issue with clang on Linux
at all.
Let's add a (somewhat comprehensive) test and see if it breaks
anywhere if we stop doing this.
Halves the size of gstreamer's build.ninja from 20M to 8.7M
Closes https://github.com/mesonbuild/meson/issues/1057
8 years ago
Jussi Pakkanen
6662f36ed3
Updated wrap definitions to the latest in wrapdb.
8 years ago
Jussi Pakkanen
24890bac98
Update multiwrap urls for libpng.
8 years ago
Jussi Pakkanen
0f85d9f66d
Renamed dir to avoid duplicate test numbers.
8 years ago
Jussi Pakkanen
8049eace0d
De-uniquefy.
8 years ago
Jussi Pakkanen
ed356496fc
Merge pull request #1854 from acfoltzer/boost-static
...
Add static flag for Boost dependency
8 years ago
Guillaume Poirier-Morency
93a1cff174
interpreter: Prevent top-level subdirectories from using 'meson-' prefix
...
These are reserved for internal usages like 'meson-private' or
'meson-logs'.
8 years ago
Alistair Thomas
a195b78c8d
Whitespace tweaks to reduce Flake8 warnings
8 years ago
Alistair Thomas
4abef5ce23
Add use of Flake8 to contributing.txt
8 years ago
Jussi Pakkanen
7882549f86
Target file name must not contain a path separator as that breaks things.
8 years ago
Jussi Pakkanen
8d2fbf8084
Clarify multiple uses of -D. Closes #1836 .
8 years ago
Goncalo Carvalho
c9c3070f53
fix typo
8 years ago
Bálint Aradi
809a5938ff
Fix case sensitivity in Fortran module names
8 years ago
Rob Doolittle
c389f7cdc7
can't pass args to python3 shebang
8 years ago
Adam C. Foltzer
aff955f99f
add static Boost dependency test
8 years ago
Adam C. Foltzer
b290688ede
look for static Boost libraries on *nix when requested
...
This was already mostly working before due to how the linker arguments were constructed, but this will now be more resilient to the case where dynamic libraries only are present.
8 years ago
Adam C. Foltzer
80fd7106e8
add support for static flag on Windows Boost dependency
8 years ago
Jussi Pakkanen
fe84a6f43f
Merge pull request #1843 from alvarez86/objcxx_args
...
Add support for objc_args and objcpp_args
8 years ago
Rob Doolittle
56b41d1c79
mesontest: use unbuffered IO
...
This helps when running mesontest as part of CI.
8 years ago
Jussi Pakkanen
d8d62a9353
Merge pull request #1559 from kalmiya/xcode_frameworks
...
Xcode frameworks
8 years ago
TingPing
e351b39430
docs: Add mention of target made by gnome.gtkdoc()
...
Mentioned in #1844
8 years ago
blackbox
8de5313288
unit-test for testing xcode frameworks
8 years ago
blackbox
db176c85db
xcode-backend framework fixes
...
- frameworks-per-target ( each needs its own uid )
8 years ago
blackbox
dd443ad0eb
codestyle
8 years ago
blackbox
03ebe2f56f
remove debug-marker
8 years ago
blackbox
ea5eb2a80d
XCode frameworks support
...
- supported as "Link with Libraries".
- Frameworks added as a group to the project
- no need to specify custom linker flags anymore, xcodeproj works just like ninja
example mason.build file :
dep_main += [dependency('appleframeworks', modules : ['Foundation', 'AppKit', 'IOKIT', 'QuartzCore', 'OpenGL', 'GLUT', 'OpenAL'], required : true)]
8 years ago
Paulo Antonio Alvarez
50c81d267b
objc++: Add support for objcpp_args keyword
...
This allows the user to pass additional flags for the objective-c++
compiler.
8 years ago
Paulo Antonio Alvarez
18d2e7b91c
objc: Add support for objc_args keyword
...
This allows the user to pass additional flags for the objective-c
compiler.
8 years ago
Jussi Pakkanen
07f117e385
Merge pull request #1664 from QuLogic/codecov
...
Enable code coverage
8 years ago
Jussi Pakkanen
19faebe09f
Merge pull request #1828 from MikeWey/dlang-compiles
...
Add 'compiles' and 'has_multi_arguments' for dlang.
8 years ago
Ole André Vadla Ravnås
ef736bb084
Update the Frida URL and description.
8 years ago
Mike Wey
b337145ec6
Use assert instead of error.
8 years ago
Elliott Sales de Andrade
083b2756d1
Add codecov badge.
8 years ago
Elliott Sales de Andrade
617a0da426
Give each coverage build a unique name.
...
Travis builds are currently build number (123.1, 123.2, etc.) and
AppVeyor is some random string, making it hard to determine which builds
cover what.
8 years ago
Elliott Sales de Andrade
6e2fff1f44
Enable code coverage on AppVeyor.
...
* Install pip on msys (which doesn't have it)
* Install codecov/coverage everywhere.
* Generate coverage XML file manually because codecov tries to call the
coverage script itself and it's in a weird place on the path.
8 years ago
Elliott Sales de Andrade
fcfe3c3231
Use a wrapper script to run tests in Cygwin.
8 years ago
Elliott Sales de Andrade
8a9479f8ea
Enable code coverage on Travis.
8 years ago
Elliott Sales de Andrade
17328e7019
Add coverage export for tests.
8 years ago
Ole André Vadla Ravnås
b595cda4ed
Fix cross environment pollution.
...
Environment variables like CFLAGS and LDFLAGS should not affect the
cross environment.
Fixes #1772
8 years ago
Jussi Pakkanen
5794f37af5
Merge hdiutil fix branch.
8 years ago
Stefan Graupner
f4b20a1cc3
Re-add comment about hdiutil output
8 years ago
Stefan Graupner
80f252bb5c
Change hdiutil detach
...
The detach now always fetches the correct mountpoint.
8 years ago
Jussi Pakkanen
effe4fb134
Create helper function for a rmtree that works reliably on Windows.
8 years ago
Jussi Pakkanen
189784b474
Merge pull request #1792 from jon-turney/custom_target_vs_module_defs
...
Allow vs_module_defs to use a custom_target
8 years ago
Ole André Vadla Ravnås
c352c34ff1
cross: Fix host_machine.system in the example iphone cross config.
8 years ago
cagatay-y
79b0111018
Update link
...
Gcovr homepage is moved. Updated the link to the new URL.
8 years ago
Jussi Pakkanen
3bd6130df2
Merge pull request #1823 from jon-turney/master
...
Improve documentation of build target and custom target objects
8 years ago
cagatay-y
a24a91b29e
Fix typo
8 years ago