Changeset 174033 in webkit


Ignore:
Timestamp:
Sep 26, 2014 10:18:55 PM (10 years ago)
Author:
ap@apple.com
Message:

WebKit top of tree sources won't build in 10.9 w/ Xcode 6.0.1
https://bugs.webkit.org/show_bug.cgi?id=137053

Patch by David Gatwood. Reviewed, tweaked and landed by Alexey Proskuryakov.

Explain that to build from Xcode, one needs to build from command line once first.

Removed a Windows section that explained how to launch cygwin shell, which was
silly given that we then link to a long document explaining further steps.

  • building/build.html:
Location:
trunk/Websites/webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/webkit.org/ChangeLog

    r173922 r174033  
     12014-09-26  Alexey Proskuryakov  <ap@apple.com>
     2
     3        WebKit top of tree sources won't build in 10.9 w/ Xcode 6.0.1
     4        https://bugs.webkit.org/show_bug.cgi?id=137053
     5
     6        Patch by David Gatwood. Reviewed, tweaked and landed by Alexey Proskuryakov.
     7
     8        Explain that to build from Xcode, one needs to build from command line once first.
     9
     10        Removed a Windows section that explained how to launch cygwin shell, which was
     11        silly given that we then link to a long document explaining further steps.
     12
     13        * building/build.html:
     14
    1152014-09-24  Langó László  <llango.u-szeged@partner.samsung.com>
    216
  • trunk/Websites/webkit.org/building/build.html

    r170410 r174033  
    66<h2>Building WebKit</h2>
    77
    8 Building WebKit requires that you have the proper <a href="tools.html">developer tools
    9 installed</a> and that you have a copy of the <a href="checkout.html">WebKit source tree</a>.
     8<p>Building WebKit requires that you have the proper <a href="tools.html">developer tools
     9installed</a> and that you have a copy of the <a href="checkout.html">WebKit source tree</a>.</p>
    1010
    1111<div class="windows-instructions">
    1212<h4>Windows</h4>
    13 <ol>
    14 <li><p>Open a Cygwin Shell (if not already open from checking out sources)</p>
    15 <p>Double-click the Cygwin icon on your Desktop to launch a new shell.
    16 </ol>
     13<p>Building on Windows requires a few more steps.  For details, see <a href="http://trac.webkit.org/wiki/BuildingOnWindows">http://trac.webkit.org/wiki/BuildingOnWindows</a>.</p>
    1714</div>
    1815
     
    3128place the build products there.</p>
    3229
    33 <div class="windows-instructions">
    34 <h4>Windows</h4>
    35 <p>Building on Windows requires a few more steps, you should look at: http://trac.webkit.org/wiki/BuildingOnWindows</p>
     30<p>Once your build has finished, you can <a href="run.html">run Safari using
     31your custom WebKit build.</a></p>
     32
    3633<p>Don't forget that if you have any questions or problems building WebKit, feel free to <a href="/contact.html">get in touch!</a></p>
    37 </div>
    38 
    39 <p>Once your build has finished, you can <a href="run.html">run it inside
    40 Safari.</a></p>
    41 
    42 <h2>Building WebKit from Xcode</h2>
    43 <p>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 <code>build-webkit</code> by choosing File > Workspace Settings and clicking the Advanced button, selecting Custom, Relative to Workspace, and entering WebKitBuild both for Products and for Intermediates. Note that if you have specified a custom build location in Xcode preferences, then you don&rsquo;t need to do this.</p>
    4434
    4535<h2>Setting a Default Configuration</h2>
    46 <ol>
    47 <li><p>To set a default build configuration for <code>build-webkit</code> and
     36<p>To set a default build configuration for <code>build-webkit</code> and
    4837other <a href="/coding/scripts.html">scripts</a>, use the
    4938<code>set-webkit-configuration</code> script:</p>
    5039<p class="code">set-webkit-configuration --debug</p>
    5140<p class="code">set-webkit-configuration --release</p>
    52 </li>
     41</ol>
     42
     43<h2>Building WebKit from Xcode</h2>
     44<p>To build from within Xcode, you can use the WebKit workspace.  Before you build in Xcode:</p>
     45
     46<ol>
     47<li>Build WebKit at least once using the command-line instructions above.  Be sure to build using
     48    the same configuration on the command line as you intend to use in Xcode (typically debug).</li>
     49<li><p>Ensure that the Products and Intermediates locations for the workspace match those used by <code>build-webkit</code> by choosing File > Workspace Settings. Then click the Advanced button, select Custom, Relative to Workspace, and enter <code>WebKitBuild</code> for both Products and Intermediates.</p>
     50    <p>Note that if you have specified a custom build location in Xcode preferences, then you don&rsquo;t need to do this.</p></li>
     51<li>If you get unexpected include or linker errors, try deleting the entire WebKitBuild directory, then rebuilding
     52    on the command line <b>before</b> you try to build in Xcode.</li>
    5353</ol>
    5454
Note: See TracChangeset for help on using the changeset viewer.