Matthias Klumpp
5133d8650f
d: Detect recent DMD compilers
...
They now are published by the D Language Foundation, and not Digital
Mars. Therefore, their signature has changed slightly.
(We can not check for 'DMD', because that string appears in every
compiler version output to denote the frontend version used by the
compiler).
7 years ago
Jussi Pakkanen
392b3d8bc7
Merge pull request #2840 from alyst/fix_detect_location
...
Fix meson location detection from other meson tools
7 years ago
Jussi Pakkanen
8ac6ab3756
Merge pull request #2880 from jon-turney/gir-cygwin
...
Fix and run gobject-introspection tests on cygwin
7 years ago
Jussi Pakkanen
17c435869c
Print problem text in error message. Closes #2882 .
7 years ago
Jon Turney
29957850ad
CI: Install gobject-introspection test prerequisites on Cygwin
7 years ago
Jon Turney
fd66692f73
Fix a problem when anyone actually tries to use a non-found dependency
...
Fix BuildTarget.add_deps() to handle class Dependency
Extend test case to cover uses of the not-found dependency object
7 years ago
Jon Turney
8a27c08b05
Use GObject-based libraries in test case/vala/11 generated vapi
...
Non-GObject-based libraries are not (reliably) introspectable, and this only
happens to work by accident, at the moment.
Briefly: In non-libtool mode, g-ir-scanner inspects the run-time
dependencies of a generated executable to determine the shared library name
an -l flag corresponds to. But this generated executable only references
the libraries by *_get_type() functions. So, if the library doesn't contain
any Gobject-based types, it is not referenced, and this inspection fails
with PECOFF binaries. It seems that distutils doesn't currently decide to
use --as-needed, so this just happens to work on ELF.
7 years ago
Jon Turney
bbdd6ecd4c
Update PATH for python-gi tests on Windows
...
Update PATH for python-gi tests on Windows, since updating LD_LIBRARY_PATH
has no effect
7 years ago
Jon Turney
b616abafd8
Fix installed files check for gobject-introspection tests on Cygwin
...
g-ir-scanner --no-libtool needed some fixes similar to [1] for Cygwin, as
well. Now that is done, it's possible to make these tests run and pass on
Cygwin.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=781525
7 years ago
Jussi Pakkanen
86feb843f4
Add promote to list of wrap commands.
7 years ago
Jussi Pakkanen
6c97d8d94d
Merge pull request #2879 from jon-turney/fix-boost-cygwin
...
Fix dependency('boost') on Cygwin
7 years ago
Igor Gnatenko
711c3a28ba
doc/users: add ksh
7 years ago
Jon Turney
fd683a2b81
CI: Run boost test for Cygwin
...
Also, use '^' to escape newlines in appveyor-install.bat to avoid an
absurdly long line, remove some unnecessary quotation, and alphabetically
sort packages
Also, define the _XOPEN_SOURCE feature test macro in the boost test to avoid
'not declared in this scope' warnings for pthread_rwlock_init(), etc.
7 years ago
Jon Turney
1a948b2e67
Fix dependency('boost') on Cygwin
...
Fix dependency('boost') on Cygwin, broken in PR #2824
Like linux, Cygwin doesn't use -mt tags
Not sure what's correct for BSDs and Haiku
7 years ago
Igor Gnatenko
18675c3dea
rpm: print testlog from subshell
...
false || { rc=$?; echo $rc; exit $rc } || :
Exits current shell without possibility to prevent that.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years ago
Jussi Pakkanen
0538009d30
Bump minimum supported Python from 3.4 to 3.5.
7 years ago
Jussi Pakkanen
65f78a722a
Merge pull request #2856 from jon-turney/warning-location
...
Consolidate warning location formatting
7 years ago
Alexey Stukalov
da44a93daa
normpath to bundled meson executable
...
add comments clarifying when the 1st method of finding meson.py may fail
7 years ago
Alexey Stukalov
8fc4244187
fix meson location detection if run by wraptool
...
teach detect_meson_py_location() that meson.py is not the
only one meson executable (there's wraptool + legacy scripts)
that could be installed to the PATH folder
fixes #2810
7 years ago
Jussi Pakkanen
c814f1145b
Merge pull request #2824 from bredelings/fix-boost
...
Fix boost on mac and linux: correctly search for boost and set -mt suffix when needed.
7 years ago
Jussi Pakkanen
ad54bc3726
Merge pull request #2838 from mesonbuild/nirbheek/consolidate-subproject-dep-checking
...
intrp: Consolidate subproject dep checking and logging
7 years ago
Shlomi Fish
2ffdf48356
Add a missing space.
7 years ago
Shlomi Fish
468260504e
Correct some grammar.
7 years ago
Nirbheek Chauhan
2d08c190d0
docs: get_option returns relative paths for xxxdir options
...
[skip ci]
7 years ago
Benjamin Redelings
d5eeda56b3
Explicitly include homebrew paths.
7 years ago
Benjamin Redelings
b260d5a465
Run the boost test on osx on travis.
7 years ago
Benjamin Redelings
62bec86aa6
Handle header-only boost modules on Unix when BOOST_ROOT is not set.
7 years ago
Benjamin Redelings
ce0b0d463f
Fix macports builds: don't override include paths unless BOOST_ROOT.
...
We don't want to add /usr/local to the include path, because that will
pick up homebrew headers.
7 years ago
Benjamin Redelings
075e2d4154
Add todo comments.
7 years ago
Benjamin Redelings
a12d47984e
Remove unqualified import and add mesonlib. in from of symbols.
7 years ago
Benjamin Redelings
57265e2486
Use include path to find <boost/version.hpp> and version number.
7 years ago
Benjamin Redelings
ea4d5697a8
Fix style issues.
7 years ago
Benjamin Redelings
a82abfcb4a
Use new strategy for finding libraries on Linux & Mac.
7 years ago
Benjamin Redelings
1043b0b4a2
Factor out extra linker search dirs into new function.
7 years ago
Benjamin Redelings
c62078dae5
Add missing for_linux( ) function.
7 years ago
Benjamin Redelings
d55f330df0
Change values in lib_modules dict to lists (of linker args).
7 years ago
Benjamin Redelings
1af17075ab
Add information about Linux and Mac.
7 years ago
Benjamin Redelings
074bd544c7
Fix typo.
7 years ago
Benjamin Redelings
4c7802b107
Link against the library files that we found during module detection.
7 years ago
Benjamin Redelings
71d24094cd
Factor out code to compute modname from basename into a single place.
7 years ago
Jon Turney
bcc95d7dd7
Use location formatting in mlog.warning() for invalid kwarg warning
...
This already reports the location (in a slightly different format), but
using mlog.warning() will make it easier if we want to change the location
format in future.
7 years ago
Jon Turney
f85fde743a
Wire up locations in a couple more warnings
...
These are the remaining warnings in the parser, where we have the location
to hand.
7 years ago
Jon Turney
2ed875e1b4
Consolidate warning location formatting in mlog.warning()
...
Also use .format() rather than %
Also use build.environment rather than hardcoding 'meson.build'
7 years ago
Jussi Pakkanen
d4985d981f
Merged init branch.
7 years ago
Jussi Pakkanen
f2b33b8dcb
Merge pull request #2852 from jon-turney/warning-location
...
Add filename and lineno to duplicate kwargs warning
7 years ago
Jussi Pakkanen
4a189cf8c5
Add unit test that checks that the sample projects compile.
7 years ago
Jussi Pakkanen
f1afd44b2b
Added C++ library sample.
7 years ago
Jussi Pakkanen
21101fd00a
Added C++ exe sample project.
7 years ago
Jussi Pakkanen
82c8550fb6
Added documentation for project templates.
7 years ago
Jussi Pakkanen
3cc1462dd2
Add a sample shared library project.
7 years ago