Dylan Baker
7dfad54f06
options: Add a permitted_kwargs function
...
I've typo'd "value" for the last time, options needs a kwargs validator.
This validator is slightly different than the one used by the main
parser, since it operates on a much simpler representation than the
other one does, and they are not interchangeable.
This also changes the optinterpreter to use pop on 'type' and
'description' so that they're not passed to the validator as kwargs.
7 years ago
Dylan Baker
4e18483ff3
tests: fix option in case 140
...
Which fails after the next patch because it provides an invalid kwarg.
7 years ago
Jan Niklas Hasse
a0c6d3dbb6
docs: Prettier screenshot in tutorial
7 years ago
Alistair Thomas
d551dbff9a
Use long form of valac options and make --basedir use relative path
7 years ago
Alistair Thomas
6483a0d846
Add additional directory depth tests to Vala test case 22
7 years ago
Corentin Noël
1320a98a33
Merge github.com:mesonbuild/meson into vala-target-dirs
7 years ago
Corentin Noël
f13887b64a
Reduce code complexity, fix nested array in files instruction
7 years ago
Nirbheek Chauhan
0c3d58baba
Update Reference-manual.md
7 years ago
Nirbheek Chauhan
f10b15930b
Update Reference-manual.md
...
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
7 years ago
xarkes
a28db4577a
Fix typo and clarify library documentation
7 years ago
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
Corentin Noël
ac8d5f2156
Allow different directories for Vala files
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