This CEF is based on Chromium 51, which drops support for Windows
Vista.
CEF now has builds hosted by Spotify that can be downloaded
automatically, so the build process has been updated to automate
downloading and building the CEF dependency. The version of CMake
in Ubuntu 12.04 doesn't support the URL_HASH parameter, so use a
more recent version from a PPA.
Unfortunately the minimal build's CMake config is broken
(https://bitbucket.org/chromiumembedded/cef/issues/1921) so for now
LOOT downloads the standard build (which is a much larger download).
The CEF dependency is not resolved using CMake because it's only
available behind a CAPTCHA, and the Boost dependency is not resolved
using CMake because it is a relatively large dependency that is better
shared between LOOT and its dependencies that use it, instead of each
having to build a separate copy.
This is slower than the existing Travis script, because all targets in
the dependencies are now built, but it is more portable.
The third-party module solution used didn't require Git to be installed,
but it was broken when the repository layout changed. Since Git is very
likely to be installed, just use CMake's built-in FindGit module and
call Git to extract the HEAD short revision ID.
Not all Windows-specific code has equivalent Linux code, file path to
URL conversion is hacky, and only that LOOT launches correctly with no
game detected has been tested.
Using the bundled VS solution files is deprecated, and they aren't
provided for the 2272 branch, so update the instructions to use
CMake. One D3D DLL has been replaced with a newer DLL too, so
the build and packaging scripts have been updated for that.
It seems that CMake 3.0.0's GUI sets the toolset to `vc120_xp` by
default, and it can't then be overridden in a CMakeLists.txt. Generating
using the command line is therefore more reliable.
Removed zlib dependency. Boost is now found by CMake. Each library now has separate root directory variables for greater flexibility. A few variables have been renamed for clarity/standardisation.