Initial CEF implementation.

Basically just the cefsimple example adapted to show the LOOT HTML page.
This commit is contained in:
WrinklyNinja
2014-07-12 16:28:49 +01:00
parent 1807b79f28
commit 42467806ee
10 changed files with 472 additions and 36 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ b2 toolset=msvc threadapi=win32 link=static runtime-link=static variant=release
`link`, `runtime-link` and `address-model` can all be modified if shared linking or 64 bit builds are desired. LOOT uses statically-linked Boost libraries by default: to change this, edit [CMakeLists.txt](../CMakeLists.txt).
#### wxWidgets
#### Chromium Embedded Framework
Just build the solution provided by wxWidgets. You may need to change the C/C++ Runtime Library setting in each project to `Multi-threaded (/MT)`.
Most of the required binaries are pre-built, but the libcef_dll_wrapper dynamic library must be built. Just open its project file and build it with the `Release` configuration.
#### yaml-cpp
@@ -53,11 +53,11 @@ Parameter | Values | Default |Description
`PROJECT_STATIC_RUNTIME` | `ON`, `OFF` | `ON` | Whether to link the C++ runtime statically or not. This also affects the Boost libraries used.
`PROJECT_ARCH` | `32`, `64` | `32` | Whether to build 32 or 64 bit LOOT binaries.
`ALPHANUM_ROOT` | path | `../../alphanum` | Path to the folder containing `alphanum.hpp`.
`CEF_ROOT` | path | `../../cef` | Path to the root of the Chromium Embedded Framework folder.
`LIBESPM_ROOT` | path | `../../libespm` | Path to the root of the libespm repository folder.
`LIBGIT2_ROOT` | path | `../../libgit2` | Path to the root of the libgit2 repository folder.
`LIBLOADORDER_ROOT` | path | `../../libloadorder` | Path to the root of the libloadorder repository folder.
`YAMLCPP_ROOT` | path | `../../yaml-cpp` | Path to the root of the yaml-cpp folder.
`WXWIDGETS_ROOT` | path | `../../wxWidgets` | Path to the root of the wxWidgets folder.
The default paths given in the table above are relative to LOOT's `CMakeLists.txt`.
+2 -5
View File
@@ -10,12 +10,9 @@ echo "using gcc : 4.6.3 : i686-w64-mingw32-g++ : <rc>i686-w64-mingw32-windres <a
./b2 toolset=gcc-4.6.3 target-os=windows threadapi=win32 link=static runtime-link=static variant=release address-model=32 cxxflags=-fPIC --with-log --with-date_time --with-thread --with-filesystem --with-locale --with-regex --with-system --with-iostreams --stagedir=stage-32
```
#### wxWidgets
#### Chromium Embedded Framework
```
./configure --host=i686-w64-mingw32 --disable-shared --enable-stl
make
```
Most of the required binaries are pre-built, but the libcef_dll_wrapper dynamic library must be built.
#### yaml-cpp