Building on SDL

Check-out the code and create a build directory :

mkdir build_sdl
cd build_sdl

Then configure your compilation options using cmake :

ccmake ..

Here are the settings you are encouraged to change :

  • OWBAL_PLATFORM_GRAPHICS to SDL
  • WEBKIT_USE_FILESYSTEM to POSIX
  • WEBKIT_USE_FONTS to FREETYPE or EMBEDDED (a minimal font engine given as a sample)
  • WEBKIT_USE_I18N to GENERIC (a generic simplistic internationalizer)
  • WEBKIT_USE_SYSTEMTIME to LINUX
  • WEBKIT_USE_THREADING to PTHREADS

Then generate your configuration by successively typing c and g, and launch your compilation :

make -j3