/cef-cmake-externalproject-sample

Example of how ExternalProject_Add can be used to load a CEF3 build as a dependency in our own cmake project.

Primary LanguageCMake

CEF CMake ExternalProject Sample

Example of how ExternalProject_Add can be used to load a CEF3 Builds as a dependency in our own cmake project.

Caveats

The example only works on Windows and Mac, but similar modifications can be made to work on Linux.

Build

  1. Clone repo
  2. Setup URL in CMakeLists.txt. (Find build URLs on CEF3 Builds)
  3. mkdir build && cd build
  4. cmake -G "Visual Studio 12" ..
  5. cmake --build . (CEF will be downloaded in this step)