Elliott Sales de Andrade
461f3af294
Explicitly check for OpenMP headers.
7 years ago
Elliott Sales de Andrade
9c254cca65
Determine OpenMP version from _OPENMP macro.
7 years ago
Elliott Sales de Andrade
dbb025a175
Add an OpenMP dependency.
...
This works similarly to the thread dependency which stores the various
inconsistent flags in each compiler.
7 years ago
Aleksey Filippov
ffa5293901
Split boost dependency out into separate file
...
Boost dependency is very complex and it is easier to manage it
in a separate file.
7 years ago
Benjamin Redelings
ab37727289
Add comment.
7 years ago
Benjamin Redelings
52775ecb14
Clean up code a bit.
7 years ago
Benjamin Redelings
8596c36214
Don't give up - boost could be in search path.
7 years ago
Benjamin Redelings
80e4ac2d49
Don't give up before check for libraries - they could be in search path.
7 years ago
Benjamin Redelings
45a7d094cc
Remove completed TODO notes.
7 years ago
Benjamin Redelings
b762655e98
Remove unused import.
7 years ago
Benjamin Redelings
8cf9c7f268
Allow finding boost libraries on windows.
7 years ago
Benjamin Redelings
4babf035e5
Factor our sourceforge dir names, and don't crash on non-msvc.
7 years ago
Benjamin Redelings
47ced35b77
Don't crash if we are not msvc.
7 years ago
Benjamin Redelings
f7862bcd92
Add note about mingw-w64 libraries.
7 years ago
Benjamin Redelings
7a233d01c7
Factor out debug tag.
7 years ago
Benjamin Redelings
a47a521b50
Correctly check for cross-compilation.
7 years ago
Benjamin Redelings
632d12f281
Add the right directory to linker search path.
7 years ago
Benjamin Redelings
f62a8aa413
Remove old code and debug messages since abi tags now work.
7 years ago
Benjamin Redelings
c54af27cd1
Add missing dash.
7 years ago
Benjamin Redelings
ead02636dc
Try using abi-tag to get libname and globber on windows.
7 years ago
Benjamin Redelings
a517c657fa
Compute abi tags for windows also.
7 years ago
Benjamin Redelings
7749497923
Move log_fail() out of sub-method.
7 years ago
Jon Turney
227ad7605b
Same for libwmf
7 years ago
Benjamin Redelings
03ec76a842
Attempt to make Unix and Windows use the same code for get_link_args( ).
7 years ago
Benjamin Redelings
465a31cf9d
Update verbose comments.
7 years ago
Benjamin Redelings
1af531c2d5
Restore comments.
7 years ago
Benjamin Redelings
f68bae49da
Use get_linker_search_args(libdir) instead of '-L'+libdir
7 years ago
Benjamin Redelings
a8c051256f
Begin factoring abi_tag logic into own function.
7 years ago
Benjamin Redelings
9759294a7f
Factor check for invalid BOOST modules into separate function.
7 years ago
Jan Niklas Hasse
b37706737c
Log instead of raise if Boost library not found ( #2924 )
7 years ago
Jon Turney
cdf241420c
Same for cups
7 years ago
Jon Turney
638095125d
Same for pcap
7 years ago
Jon Turney
8efdcca930
Make Dependency.get_methods() a static method
...
Since this is only consulted while constructing the Dependency object, it's
result doesn't depend on the instance (and it would make no sense if it did)
7 years ago
Jon Turney
0a6cbcce03
Fix typos
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
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
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
Niklas Claesson
d014087fd9
boost: Allow older behavior with a warning
...
Fixes #2813
7 years ago
Xavier Claessens
1c0570906c
pkgconfig: Allow passing Dependency objects to library(_private)
...
Special case ThreadDependency by taking compiler's flags and
PkgConfigDependency by adding them in requires(.private) instead. For
other Dependency objects just take their link_args and compile_args.
Closes #2725
7 years ago