-
Notifications
You must be signed in to change notification settings - Fork 87
Home
Alex Maitland edited this page Sep 15, 2017
·
10 revisions
- cmake
- 7Zip
- Visual Studio 2013 Pro/Community Update 5 and/or Visual Studio 2015 Pro/Community Update 1
- Powershell
For build branch 2704
and newer. Using releases from Spotify CEF Automated Build server
The latest version of the build.ps1
powershell script will download the specified CEF Binary
revision and generate the packages automatically.
- Git clone the
cef-binary
repository - Execute
build.ps1
(usage examples below) - Nuget packages generated in
nuget
folder
# Build with default settings this will generate VS2013 and VS2015 builds of the libcef_wrapper and generate the nuget packages
.\build.ps1
# Build the default version targeting only VS2013 and then generate the nuget packages
.\build.ps1 -Target vs2013
.\build.ps1 -Target nupkg-only
# Build version 3.2924.1538.gbfdeccd with VS2013
.\build.ps1 -Target vs2013 -CefVersion 3.2924.1538.gbfdeccd
.\build.ps1 -Target nupkg-only -CefVersion 3.2924.1538.gbfdeccd
# Build version 3.2924.1538.gbfdeccd with VS2015
.\build.ps1 -Target vs2015 -CefVersion 3.2924.1538.gbfdeccd
.\build.ps1 -Target nupkg-only -CefVersion 3.2924.1538.gbfdeccd
# Build version 3.2924.1538.gbfdeccd with VS2015 using your locally compiled CEF version
.\build.ps1 -Target vs2015 -DownloadBinary local -CefVersion 3.2924.1538.gbfdeccd -CefBinaryDir "../../cefsource/chromium/src/cef/binary_distrib/"
.\build.ps1 -Target nupkg-only -DownloadBinary none -CefVersion 3.2924.1538.gbfdeccd
Older releases were sourced from cefbuilds.com - this site is no longer available and these instructions are only left here as a reference.
Important
You'll need to use an older version of the build.ps1
script to build the 2623
branch and older
- Git clone the
cef-binary
repository - Checkout the specific commit
- Download both 32bit and 64bit versions for the branch your interested in e.g.
3.2623.1401
- 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
- Ensure CMake is in the path
- Edit
build.ps1
and update the CEF version and CEF package version based on the CEF version you downloaded. - Open powershell
- Execute
build.ps1