cef3-sdl2
cef3-sdl2 copied to clipboard
Cef 3 off-screen rendering example for SDL
cef3-sdl2
Cef 3 off-screen rendering example for SDL based on CEF OSR
Building
Assuming '$project_dir' is the directory where this project lives
Get SDL 2
Download SDL 2 development libraries and unzip to '$project_dir\sdl'
Get CEF 3
- download Chromium Embedded Framework 3 and unzip somewhere
- cd $somewhere
- build samples & libcef_dll :
- mkdir build
- cd build
- cmake .. && cmake --build .
- copy :
- 'build\libcef_dll\Debug\libcef_dll_wrapper.lib' to '$project_dir\vendor\cef\lib'
- 'Debug\*' & 'Resources' to '$project_dir\vendor\cef'
Build this project
- cd $project_dir
- mkdir build
- cd build
- cmake .. && cmake --build .