Jussi Pakkanen
9483875798
Merge pull request #2397 from mesonbuild/prebuilt
...
Better support for prebuilt shared libs
7 years ago
Mohammed Sadiq
35313c2a85
docs: Fix typo
...
Remove the quote before parens
7 years ago
Jussi Pakkanen
ec45c29c9d
Add rpath entries for all found libraries outside of system libraries.
7 years ago
Jussi Pakkanen
cb3d980a1f
Merge pull request #2282 from NickeZ/improve-boost
...
Improve boost
7 years ago
Jussi Pakkanen
357b34f915
Merge pull request #2375 from centricular/gnome-gir-fixes
...
Fix GNOME gir generation with lists of dependency lists
7 years ago
Patrick Griffis
893d101fff
gnome: Add header kwarg to generate_gir()
...
This is a commonly used flag so lets make it more obvious.
7 years ago
Alexis Jeandet
a9258923fa
Added include directory argument for Qt's Moc which is needed to build plugins.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Nirbheek Chauhan
bb0e18b738
Use listify and extract_as_list everywhere
...
They now flatten by default and unhold objects if required
Includes unit tests.
7 years ago
Niklas Claesson
4df8650560
Appveyor: Enable Boost tests where possible
7 years ago
Niklas Claesson
bbdba876af
Boost: Improve search algorithm
...
The new implementation will correctly pick boost from 3 possible
locations on windows and two locations on posix compatible OSs.
The new search algorithm also differentiates between debug and
release builds of Boost and multi or single threading builds.
It was also decided to map "Meson modules" to Boost software libraries
and not Boost modules since it there are a lot of options regarding
linking. Some modules can even be used either as headers-only or with
dynamic linking.
This commit also fixes a bug that prevented header-only use on Windows.
Fixes : #2274 #2239 #1803 #669
7 years ago
Niklas Claesson
09ccd0eeaa
C/C++: Get default include dirs from compilers
7 years ago
Niklas Claesson
488e57332f
VisualC: Add support for msvc toolset version
7 years ago
Liam Staskawicz
ae532c807c
backends: avoid extraneous trailing os.path.sep when joining paths
...
resolves #2336
7 years ago
Nirbheek Chauhan
7c4f0f97d3
tests: Always run ninja with -d explain
...
Will help us figure out the occasional ninja loops we see in our CI:
https://github.com/mesonbuild/meson/pull/2394#issuecomment-333340112
https://travis-ci.org/mesonbuild/meson/jobs/281637736
7 years ago
Nirbheek Chauhan
24e0774ace
Always flatten in listify() since we always want that
...
All our kwargs take lists that must be flattened
Closes https://github.com/mesonbuild/meson/issues/2408
7 years ago
Nirbheek Chauhan
26dada3797
gnome: Flatten and unholder all dependencies
...
Otherwise lists-of-lists get ignored instead
7 years ago
Nirbheek Chauhan
b0c40737bf
tests/7 gnome: Test that GIR deps are flattened
7 years ago
Nirbheek Chauhan
3a63f0d63c
interpreter: Add a new ObjectHolder class
...
Sets the held_object property and also implements a readable repr()
7 years ago
Jussi Pakkanen
4e42861467
Fix tests on OSX.
7 years ago
Jussi Pakkanen
1b442d11b4
Prevent projects from grabbing other projects' options.
7 years ago
Jussi Pakkanen
7d49d1d2d7
Merge pull request #2373 from leiflm/svn-wraps
...
introduce svn wrap support
7 years ago
Jussi Pakkanen
ea5ae8ef27
Merge pull request #2313 from dcbaker/fix-2180
...
link_whole should be considered a source for targets
7 years ago
Jussi Pakkanen
cb64a3f07a
Fix MSVC builds.
7 years ago
Leif Middelschulte
a90e47bd4f
adds missing import of `Popen_safe`
7 years ago
Leif Middelschulte
3c36cf1d5e
updates test svn-url to point to meson controlled repository
7 years ago
Leif Middelschulte
078527a744
As per jpakkane's suggestion use `Popen_safe` instead of `subprocess.getoutput`
...
Jussi suggested to use `Popen_safe` from meson's library for portability reasons.
7 years ago
Jussi Pakkanen
b3362e350a
Added release note snippet for prebuilt shared libs.
7 years ago
Jussi Pakkanen
a655b64989
Add an rpath entry to shared libraries that are linked from the source tree.
7 years ago
Jussi Pakkanen
ac79eebc2f
Moved prebuilt static library under unit tests.
7 years ago
Jussi Pakkanen
b9c4fc728c
Moved prebuilt object test under unittests.
7 years ago
Nirbheek Chauhan
8cc52b5d4f
vs: Fix link_whole usage with the vs backend
...
/WHOLEARCHIVE must go to AdditionalOptions, not AdditionalDependencies
and we must add a project reference to trick msbuild/visual studio into
building a target that is built from only libraries linked in via
/WHOLEARCHIVE.
7 years ago
Nirbheek Chauhan
560f4b6fc7
vs: Fix detection of options vs libraries in link args
7 years ago
Nirbheek Chauhan
b866cf0804
vs: Add a helper for adding a project reference
7 years ago
Nirbheek Chauhan
040fa07e36
tests/common/145: Move each target into its own subdir
...
This helps test whether /WHOLEARCHIVE and --whole-archive arguments
resolve into the right subdirectories.
7 years ago
Niklas Claesson
68275b32e8
Implement capture for generators
7 years ago
liugang
c93bce7839
Don't download patch archive if already download
...
the behavior of download patch should
keep same as download package.
7 years ago
Jussi Pakkanen
5e47739633
Merge pull request #2378 from dcbaker/llvm-cleanups
...
Llvm cleanups
7 years ago
Reverend Homer
fd339759f2
fix typo?
7 years ago
Jon Turney
c654e58c53
Revert "Add an additional Cygwin package repo with patched ninja"
...
This reverts commit 92c2bb7519
.
This is no longer needed, as a patched ninja is now available from the
standard Cygwin package repository, and prevents me from accidentally
breaking CI when changing things in my personal package repository.
7 years ago
Dylan Baker
dda5e8cadb
Allow CustomTarget's to be indexed
...
This allows a CustomTarget to be indexed, and the resulting indexed
value (a CustomTargetIndex type), to be used as a source in other
targets. This will confer a dependency on the original target, but only
inserts the source file returning by index the original target's
outputs. This can allow a CustomTarget that creates both a header and a
code file to have it's outputs split, for example.
Fixes #1470
7 years ago
Dylan Baker
5a8d1b6431
deps: strip 'svn' from LLVM version
7 years ago
Dylan Baker
035bee5c54
deps: demote LLVM config to instance variable
...
Which fixes trying to use multiple versions of LLVM, and allows
simplifying the class somewhat.
7 years ago
Dylan Baker
95ba1fcab2
deps: convert LLVM modules to a set before checking for them
...
This allows the logic in a meson.build file to be simplified (ie, some
dependencies can add the same module requirements) but meson will only
check for them once. Since set is inherently unordered, use sorted to
make the output deterministic.
7 years ago
Dylan Baker
ce6099b704
deps: flatten module argument to LLVM dependency
...
So that nested lists can be passed.
7 years ago
Jussi Pakkanen
dfc2b75ee2
Merge pull request #2348 from centricular/configure-file-infinite-loop
...
configure_file: Fix infinite loop in some cases
7 years ago
Jussi Pakkanen
cf6693a4eb
Linker flag for Windows GUI applications was missing on MSVC.
7 years ago
Nirbheek Chauhan
87327d414a
configure_file: Fix infinite loop in some cases
...
We were adding built files to the list of source files to check for
regen. We were also not adding sources files to regen when `command:`
was used.
Fixes #1865
7 years ago
Leif Middelschulte
50376cca37
fixup 993a12c5: use right variable
7 years ago
Leif Middelschulte
993a12c543
avoid errornous type conversion. Compare strings instead
7 years ago
Leif Middelschulte
fab15d433a
fixes offline working (if desired revision is already present).
7 years ago