Skip to content
Alex Maitland edited this page Mar 18, 2015 · 10 revisions

Building cef-binary Nuget packages using releases from cefbuilds.com

Repackaging CEF for use with CefSharp is relatively easy, the steps below should provide a basic guide.

Requirements

  • cmake (Only Required for branches >= 2272)
  • Visual Studio 2012 Pro Update 4 or Visual Studio 2013 Pro/Community Update 4
  • Powershell

Steps to build

  • Download both 32bit and 64bit versions for the branch your interested in e.g. 3.2272.2035
  • Git clone the cef-binary repository
  • Extract the 32bit version into <path-to-cef-binary>\cef_binary_3.y.z_windows32
  • Extract the 64bit version into <path-to-cef-binary>\cef_binary_3.y.z_windows64
  • Run cmake to generate the project files (Only Required for branches >= 2272)
  cd <path-to-cef-binary>\cef_binary_3.y.z_windows32
  <path-to-cmake>\CMake\bin\cmake.exe -G "Visual Studio 12"
  cd <path-to-cef-binary>\cef_binary_3.y.z_windows64
  <path-to-cmake>\CMake\bin\cmake.exe -G "Visual Studio 12 Win64"
  • Open powershell
  • Execute build.ps1

Note Must run cmake when project files are in the cef-binary 32/64bit sub directory as it appears that some paths get hard coded. If you move directories, then regenerate project files.

Clone this wiki locally