There is a Darwin code path in the qb configure scripts and as far as I
can tell it has not been tested heavily in a long time.
This will expose this code path for travis builds with only clang which
will make it easier to test qb changes without breaking Darwin support.
I am surprised that this hasn't already happened...
Some things to note are.
* It appears gcc is really clang on macOS.
* Both C89_BUILD and CXX_BUILD were ommitted because they are broken in
ways I can not fix. In the event any interested parties wish to fix
these issues they can be easily added.
* This will use the default macOS version available with travis which is
currently 10.13. Other version(s) can be specified if desired, I am
not sure which versions are best to test. See the following link for
more details.
https://docs.travis-ci.com/user/reference/osx#macos-version
This is the correct change to prefer the builtin zlib.
Revert "(QB) Bake in zlib by default, make zlib as dynamic library dependency"
This reverts commit 2713e792ca.
Revert "(QB) Change behavior - if HAVE_ZLIB = no, that doesn't mean"
This reverts commit f66fe5e16b.
* qb: Fix OpenGLES build.
The gl core video driver requires at least OpenGLES 3 and
OpenGL 1 is not compatible with OpenGLES 2 or 3.
* travis: Test OpenGLES builds on linux.
* travis: Enable building qt for linux.
* qb: Set QT_SELECT for moc and qtchooser.
This should have no effect on systems where qtchooser is not used.
Fixes https://github.com/libretro/RetroArch/issues/8028
* qb: Actually disable c++ features if there is no c++ compiler.
Now this warning actually does something.
Warning: A working C++ compiler was not found, C++ features will be disabled.
@twinaphex reported that he was getting a lot of Travis email notifications. These are not needed, as the build status is reported on both Pull Requests, and the Status Badge.
Builds on Linux with gcc and clang, and also on Mac.
Had to configure a more recent version of clang as the default Travis CI
one is a bit outdated and wouldn't work.
Unfortunately I was unable to install Nvidia Cg for Mac as it needs to
run the installer interactively. Still, it builds without Cg support.
It only covers a subset of the architectures, but that's better than
nothing and should catch at least basic errors on pull requests
(requires enabling Travis CI support in the GitHub repository settings).