Dylan Baker
87742fd9f0
run_project_tests: correctly search for objcpp compiler
...
Instead of looking for an objc compiler. Fixes objc++ tests on
DragonFlyBSD (which has an objc but not an objc++ compiler)
Really though, the objc and objc++ tests need to be untangled so that
the objc tests can run even if an objc++ compiler is unavilable.
2018-01-06 13:49:34 -08:00
Dylan Baker
97d2a9d84c
tests: skip objc nsstring test if gnustep is not installed
2018-01-06 13:49:34 -08:00
Dylan Baker
ae4bd83493
tests: Fix 135 generated assembly on DragonFly BSD
...
Which uses a modern version of GCC and Clang, which supports gas.
Tested with x86_64, but I assume that x86 and arm have the same problem.
2018-01-06 13:49:34 -08:00
Dylan Baker
4620bdd8b4
tests: fix rpath_uses_ORIGIN on dragonflybsd
...
Which always seems to prepend /usr/lib/gcc50 (or whatever version) to
the rpath, and $ORIGIN after that.
2018-01-06 13:49:34 -08:00
Dylan Baker
10a560a411
compilers: fix unittest "16 prebuilt shared" on dragonfly bsd
2018-01-06 13:49:34 -08:00
Dylan Baker
3b8e65911c
docs: Add netbsd to the reference table
2018-01-06 13:49:34 -08:00
Dylan Baker
087421f922
tests: Add define tests for netbsd
2018-01-06 13:49:34 -08:00
Dylan Baker
1723a91af3
docs: Add dragonfly BSD to OS reference table
2018-01-06 13:49:34 -08:00
Dylan Baker
b72be62929
tests: Add Dragonfly BSD
...
which uses __DragonFly__
2018-01-06 13:49:34 -08:00
Dylan Baker
4d8552ef55
docs: Add freebsd to the reference table
2018-01-06 13:49:34 -08:00
Dylan Baker
a44221db06
tests: Add freebsd to get define test.
2018-01-06 13:49:34 -08:00
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
2018-01-06 19:20:32 +02:00
Jussi Pakkanen
86feb843f4
Add promote to list of wrap commands.
2018-01-06 15:48:43 +02:00
Jussi Pakkanen
6c97d8d94d
Merge pull request #2879 from jon-turney/fix-boost-cygwin
...
Fix dependency('boost') on Cygwin
2018-01-06 14:41:26 +02:00
Igor Gnatenko
711c3a28ba
doc/users: add ksh
2018-01-06 14:40:01 +02:00
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.
2018-01-04 22:51:57 +00:00
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
2018-01-04 22:48:14 +00:00
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>
2018-01-04 22:09:51 +02:00
Jussi Pakkanen
0538009d30
Bump minimum supported Python from 3.4 to 3.5.
2018-01-04 21:29:02 +02:00
Jussi Pakkanen
65f78a722a
Merge pull request #2856 from jon-turney/warning-location
...
Consolidate warning location formatting
2018-01-03 22:32:40 +02:00
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.
2018-01-02 22:17:23 +02:00
Jussi Pakkanen
ad54bc3726
Merge pull request #2838 from mesonbuild/nirbheek/consolidate-subproject-dep-checking
...
intrp: Consolidate subproject dep checking and logging
2018-01-02 20:35:19 +02:00
Shlomi Fish
2ffdf48356
Add a missing space.
2018-01-02 20:29:32 +02:00
Shlomi Fish
468260504e
Correct some grammar.
2018-01-02 20:29:32 +02:00
Nirbheek Chauhan
2d08c190d0
docs: get_option returns relative paths for xxxdir options
...
[skip ci]
2018-01-02 19:01:34 +05:30
Benjamin Redelings
d5eeda56b3
Explicitly include homebrew paths.
2018-01-01 22:47:14 -08:00
Benjamin Redelings
b260d5a465
Run the boost test on osx on travis.
2018-01-01 22:43:28 -08:00
Benjamin Redelings
62bec86aa6
Handle header-only boost modules on Unix when BOOST_ROOT is not set.
2018-01-01 22:42:49 -08:00
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.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
075e2d4154
Add todo comments.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
a12d47984e
Remove unqualified import and add mesonlib. in from of symbols.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
57265e2486
Use include path to find <boost/version.hpp> and version number.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
ea4d5697a8
Fix style issues.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
a82abfcb4a
Use new strategy for finding libraries on Linux & Mac.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
1043b0b4a2
Factor out extra linker search dirs into new function.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
c62078dae5
Add missing for_linux( ) function.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
d55f330df0
Change values in lib_modules dict to lists (of linker args).
2018-01-01 22:42:49 -08:00
Benjamin Redelings
1af17075ab
Add information about Linux and Mac.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
074bd544c7
Fix typo.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
4c7802b107
Link against the library files that we found during module detection.
2018-01-01 22:42:49 -08:00
Benjamin Redelings
71d24094cd
Factor out code to compute modname from basename into a single place.
2018-01-01 22:42:49 -08:00
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.
2018-01-01 13:21:01 +00:00
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.
2018-01-01 13:21:00 +00:00
Jon Turney
2ed875e1b4
Consolidate warning location formatting in mlog.warning()
...
Also use .format() rather than %
Also use build.environment rather than hardcoding 'meson.build'
2018-01-01 13:20:55 +00:00
Jussi Pakkanen
d4985d981f
Merged init branch.
2018-01-01 02:12:13 +02:00
Jussi Pakkanen
f2b33b8dcb
Merge pull request #2852 from jon-turney/warning-location
...
Add filename and lineno to duplicate kwargs warning
2018-01-01 02:09:45 +02:00
Jussi Pakkanen
4a189cf8c5
Add unit test that checks that the sample projects compile.
2017-12-31 23:24:29 +02:00
Jussi Pakkanen
f1afd44b2b
Added C++ library sample.
2017-12-31 23:18:08 +02:00
Jussi Pakkanen
21101fd00a
Added C++ exe sample project.
2017-12-31 23:18:08 +02:00
Jussi Pakkanen
82c8550fb6
Added documentation for project templates.
2017-12-31 23:18:08 +02:00