GithubHelp home page GithubHelp logo

jschmidt42 / stingray-cef-build Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

Download, build and package CEF for the Stingray Editor, see

Home Page: https://www.stingrayengine.com

JavaScript 100.00%
autodesk stingray build cef

stingray-cef-build's Introduction

Stingray - Gulp CEF Build Script

Download, build and package CEF for the Stingray Editor.

See https://www.stingrayengine.com for more information on Stingray.

Setup build script

Install NPM modules

npm install npm install --global gulp-cli

Generate and build solution

Run gulp build task

gulp build --cef 3.2924.1564.g0ba0378

Builds are downloaded from http://opensource.spotify.com/cefbuilds/index.html#windows64_builds

Generate, build and package CEF

Run the following gulp tasks:

gulp download build package --cef 3.2924.1564.g0ba0378

What the script is doing...

  1. Download CEF standard package...

  2. Create cmake build folder

    mkdir build

    cd build

  3. 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

  4. Build solution using cmake in Debug and Release

    cmake --build . --target libcef_dll_wrapper --config Release

  5. Create this structure in the cef packaged destination lib folder

    +---include
    +---Resources
    \---x64
        +---Debug
        \---Release
    
    1. Copy Debug/ to x64/
    2. Copy Release/ to x64/
    3. Copy include/ folder to lib folder
    4. Copy Resources/ to lib folder
    5. Move Resources/icudtl.dat to x64/Debug and x64/Release
    6. Copy "build\libcef_dll\Debug\libcef_dll_wrapper.lib" to x64/Debug/
    7. Copy "build\libcef_dll\Release\libcef_dll_wrapper.lib" to x64/Release/

Command Line Usages

> 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

stingray-cef-build's People

Contributors

jschmidt42 avatar

Watchers

 avatar

stingray-cef-build's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.