Building on Windows requires a few more steps. For details, see http://trac.webkit.org/wiki/BuildingOnWindows.
build-webkitscript to build WebKit.
--debugoption for a debug build, which includes debugging symbols and assertions:
build-webkit places build products in
WebKitBuild. You can specify a different build
location on Mac in your Xcode preferences. On other platforms, the
WEBKIT_OUTPUTDIR environment variable can be used to
set a different build products location. If you have set up a custom build location, then
place the build products there.
Once your build has finished, you can run Safari using your custom WebKit build.
Don't forget that if you have any questions or problems building WebKit, feel free to get in touch!
Setting a Default Configuration
To set a default build configuration for
other scripts, use the
Building WebKit from Xcode
To build from within Xcode, you can use the WebKit workspace. Ensure that the Products and Intermediates locations for the workspace match those used by
build-webkit: choose File > Workspace Settings, then click the Advanced button, select Custom, Relative to Workspace, and enter
WebKitBuild for both Products and Intermediates. Note that if you have specified a custom build location in Xcode preferences, then you don’t need to do this.