Chocobo1
8a6cac8338
Make OpenSSL a direct dependency
6 years ago
Chocobo1
819a84eb7a
Implement proper C++11 mode detection
...
Newer compilers have C++14 mode as default and package maintainers tend
to not specifying a C++ version when building a package, this causes
compatibility issues when (for example) qbt is compiled in C++11 and
dependency lib is in C++14. See issue #9485 .
What this commit does:
1. Checks if compiler supports at least C++11
2. Checks if compiler is set in at least C++11 mode
6 years ago
Chocobo1
c269d63bc1
Fix TravisCI cmake build on macOS
...
Instead of hard coding a macOS version to use, now we follow TravisCI default
version, currently: xcode9.4.
6 years ago
sledgehammer999
7d493f5367
Fix macOS builds in travis-ci
6 years ago
sledgehammer999
be419d5ecf
Fix TravisCI macOS builds
6 years ago
Eugene Shalygin
fa770871e9
Refactor CMake build scripts
...
1. Use FeatureSummary module to show configuration results.
2. Invert option()/find_package() relationship: instead of
calling find_package(... REQUIRED) when option is set, rely on optional
find package call and PackageName_FOUND variable.
3. Refactor handling options that result in simple preprocessor defines
(actually copy the snippet from libtorrent) so that everything is done
in a single function call.
4. Populate target properties in order to get rid of
include_directories() calls.
7 years ago
sledgehammer999
4ba6334506
Update libtorrent bottle for Travis macOS
7 years ago
sledgehammer999
686fb701bf
Update libtorrent bottle for Travis.
7 years ago
sledgehammer999
467ba380b2
Travis: Update libtorrent bottle with boost 1.65+ fix.
7 years ago
Eugene Shalygin
c614c66535
Install required plugins into bundle
...
Install platform and svg plugins into bundle. Update dependencies in
Travis.
7 years ago
sledgehammer999
b3004ac28b
Various fixes for Travis, macOS and cmake.
7 years ago
sledgehammer999
c4b9063767
Drop use of custom qt bottle for Travis and homebrew.
...
Patch for macdeployqt is included in the official homebrew formula.
7 years ago
sledgehammer999
3d970399d4
Update Travis to use the new macOS packages for qt and libtorrent.
8 years ago
Eugene Shalygin
c2f9f57ef4
Travis: group apt packages
8 years ago
Eugene Shalygin
8c589b8579
travis: use GCC 6 in CMake builds
...
GCC 4.8.4 has a bug with system includes: it does not ignore warnings
for files from system include directories. This breaks our Travis builds
due to warnings in zlib.h.
8 years ago
Eugene Shalygin
3a87af7372
travis: Use Ninja in CMake builds
...
make does not show compiler command line when -Werror triggers a
compilation error. Ninja does show complete command line in this case,
and the command line might be important for analysing a build error.
Additionally, final build log contains only lines for generated files
and files with compilation warnings, and is much shorter as such.
8 years ago
Chocobo1
46ac5e0ee2
TravisCI: only allow coverity build job when `build_system=qmake`
8 years ago
Chocobo1
cfb07b3d5b
TravisCI: Install latest zlib & cleanups
...
Remove trailing semicolon, seems that isn't needed now
Switch builds to container-based infrastructure
Move similar code blocks together
8 years ago
Eugene Shalygin
97d52668cc
travis: fix CMake + OSX build
...
Brew changed installation dir for Qt, and we have to change it in our
workaround symlinks too.
8 years ago
Eugene Shalygin
c32cee8098
travis: remove redundant 'cd' command
8 years ago
Eugene Shalygin
7d19ee2e59
travis: add cmake build
8 years ago
Eugene Shalygin
8a106314ff
travis: remove Qt4 leftover
8 years ago
Eugene Shalygin
17e6eba50a
travis: use apt addon for libtorrent and Qt packages
8 years ago
sledgehammer999
c37ff51004
Some improvements in travis.yml for macOS. Closes #6089 .
8 years ago
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
8 years ago
Chocobo1
cae2f3059c
Workaround thread_local not supported on OSX
...
Drop back to xcode7.3 on TravisCI
8 years ago
Chocobo1
7d2a393532
Enable thread_local support in TravisCI
8 years ago
Hiro Asari
7f7b63b172
Allow some Mac jobs to fail
...
Put `allow_failures` in the correct place.
8 years ago
sledgehammer999
33ada71e4b
Fix Travis macOS builds.
8 years ago
sledgehammer999
48c2901d09
Allow build failures for qt4 and osx for Travis.
8 years ago
sledgehammer999
ca937b72ef
Use custom qt5 bottle for homebrew (macOS) on Travis.
8 years ago
sledgehammer999
b971eb52ee
Fix travis osx build.
8 years ago
Chocobo1
ba2dc69ff9
Fix URL
8 years ago
sledgehammer999
f2d8b8e319
Travis: Use custom libtorrent formula and bottle for OSX.
...
Caches libtorrent 1.0.10 built with c++11 enabled.
8 years ago
Chocobo1
8abb5fdf47
Remove redundant command
8 years ago
sledgehammer999
bfde2ce875
Small travis update for OSX.
8 years ago
sledgehammer999
05d226a103
Fix travis again.
...
I wish the homebrew guys didn't break it so often and the travis guys updated their images more frequently.
8 years ago
sledgehammer999
d3ece7417d
Upgrade pkg-config travis-ci for OS X.
...
Fixes 'zlib not found` errors.
Details: https://github.com/Homebrew/brew/issues/563
8 years ago
Chocobo1
959676164b
[TravisCI] lock-on to libtorrent-rasterbar 1.0.9 version
9 years ago
Chocobo1
926cbb18ea
Re-enable cache for linux builds
...
Enable cache for OSX builds
9 years ago
Chocobo1
f89d7c2f67
Suppress warning on OSX builds
9 years ago
sledgehammer999
e3409228da
Fix qt5 bundle on OSX. Closes #4014 .
9 years ago
Chocobo1
09194f8e1b
TravisCI: switch to Trusty image. Closes #4953 .
...
Drop workaround for gcc-4.8
9 years ago
Chocobo1
fa92a10f15
Turn off warning on OSX builds: unused-local-typedefs
...
Reorder option list, sort by lt_branch then qt then gui
9 years ago
sledgehammer999
6e09028682
Switch to Qt5 by default.
9 years ago
sledgehammer999
50b9438fb6
Cleaner way to disable linux qt5 builds on Travis.
9 years ago
sledgehammer999
10e3009c46
Enable Qt5 compilation for OS X on Travis.
9 years ago
sledgehammer999
cc5a737836
Fix Coverity Scan builds.
9 years ago
Vladimir Golovnev (Glassez)
2a411987db
Bump minimum supported version of gcc to 4.8.
9 years ago
Chocobo1
89be63da02
TravisCI: build on osx
9 years ago