Download, build and package CEF for the Stingray Editor.
See https://www.stingrayengine.com for more information on Stingray.
Install NPM modules
npm install npm install --global gulp-cli
Run gulp build task
gulp build --cef 3.2924.1564.g0ba0378
Builds are downloaded from http://opensource.spotify.com/cefbuilds/index.html#windows64_builds
Run the following gulp tasks:
gulp download build package --cef 3.2924.1564.g0ba0378
-
Download CEF standard package...
-
Create cmake build folder
mkdir build
cd build
-
Generate solution using cmake
First we replace
/MT
compile options to/MD
(Multithread DLL) in cmake scripts.cmake -G "Visual Studio 14 Win64" .. -DUSE_SANDBOX=OFF
-
Build solution using cmake in Debug and Release
cmake --build . --target libcef_dll_wrapper --config Release
-
Create this structure in the cef packaged destination lib folder
+---include +---Resources \---x64 +---Debug \---Release
- Copy Debug/ to x64/
- Copy Release/ to x64/
- Copy include/ folder to lib folder
- Copy Resources/ to lib folder
- Move Resources/icudtl.dat to x64/Debug and x64/Release
- Copy "build\libcef_dll\Debug\libcef_dll_wrapper.lib" to x64/Debug/
- Copy "build\libcef_dll\Release\libcef_dll_wrapper.lib" to x64/Release/
> gulp
Options:
--cef, -c CEF build version to be downloaded, see
http://opensource.spotify.com/cefbuilds [string] [required]
--libs Stingray libs destination folder, i.e. %SR_LIB_DIR%
[string] [required] [default: "E:\\stingray-libs"]
Examples:
gulp --cef <cef build version #> i.e. 3.2924.1564.g0ba0378