Jussi Pakkanen
d2022f9c65
Merge pull request #2426 from dcbaker/submit/options-permitted-kwargs
...
options: Add a permitted_kwargs function
7 years ago
Corentin Noël
93d2ced31f
Create the .po file with the `update_po` subcommand if it doesn't exist
7 years ago
Jan Niklas Hasse
7b36897ff9
Use get_default_include_dirs to detect BOOST_ROOT
...
This removes the need to specify BOOST_ROOT for cross-compilers.
7 years ago
Jussi Pakkanen
a3e655d20d
Package the Visual C runtime. Closes #2417 .
7 years ago
Dylan Baker
e8df59cc5f
llvm: don't add --system-libs
...
On LLVM < 4.0 this adds linker arguments like -lm, which we don't want.
Related #2442 , 2437
7 years ago
Nirbheek Chauhan
97cf0ec01b
appveyor: Use a mirror for get-pip.py
...
pypa.io has an HSTS policy that forces http, and the https cert is
broken on Windows.
7 years ago
Nirbheek Chauhan
e7bb122b22
appveyor: Attempt to fix MSYS/MinGW setup failure
7 years ago
TingPing
fd774fcb43
docs: Use consistent whitespace for gnome kwargs
7 years ago
Jussi Pakkanen
295f8e14b1
Merge pull request #2413 from tintou/vala-target-dirs
...
Don't rely on only the basename to distinguish vala-source-file objects
7 years ago
David Strauss
52a4f19832
Update to not use deprecated mesonconf
7 years ago
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