<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>110414</bug_id>
          
          <creation_ts>2013-02-20 17:26:06 -0800</creation_ts>
          <short_desc>CMake should not require build target</short_desc>
          <delta_ts>2013-11-05 08:51:11 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>114243</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mark Salisbury">mark.salisbury</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>laszlo.gombos</cc>
    
    <cc>mark.salisbury</cc>
    
    <cc>paroga</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>837983</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Salisbury">mark.salisbury</who>
    <bug_when>2013-02-20 17:26:06 -0800</bug_when>
    <thetext>A bug was introduced recently (IMO) that requires a build target (Debug, Release, RelWithDebInfo, MinSizeRelease) to be specified when invoking CMake.  If you don&apos;t specify a build target, you get an error from the top level CMakeLists.txt file on line 10 because it attempts to convert the build type &quot;tolower&quot;.

When I run CMake I have it to generate Visual Studio project files, then I open WebKit.sln and build from inside the VS IDE.

The change I&apos;d like to see guarded was introduced in http://trac.webkit.org/changeset/140990.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>838019</commentid>
    <comment_count>1</comment_count>
      <attachid>189431</attachid>
    <who name="Mark Salisbury">mark.salisbury</who>
    <bug_when>2013-02-20 17:59:03 -0800</bug_when>
    <thetext>Created attachment 189431
Proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842086</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Salisbury">mark.salisbury</who>
    <bug_when>2013-02-26 09:29:14 -0800</bug_when>
    <thetext>Am I alone in seeing this issue as a problem?  Maybe I wasn&apos;t clear in describing the issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>870275</commentid>
    <comment_count>3</comment_count>
      <attachid>189431</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-04-06 04:49:16 -0700</bug_when>
    <thetext>Comment on attachment 189431
Proposed fix

View in context: https://bugs.webkit.org/attachment.cgi?id=189431&amp;action=review

&gt; CMakeLists.txt:12
&gt; -string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
&gt; +if (CMAKE_BUILD_TYPE)
&gt; +    string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
&gt; +endif ()

IMHO we should only remove the TOLOWER and replace &quot;debug&quot; with &quot;Debug&quot; in the other CMake files</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889205</commentid>
    <comment_count>4</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2013-05-15 02:11:08 -0700</bug_when>
    <thetext>Redolved with https://trac.webkit.org/changeset/147992

*** This bug has been marked as a duplicate of bug 114243 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>947191</commentid>
    <comment_count>5</comment_count>
      <attachid>189431</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-11-05 08:51:11 -0800</bug_when>
    <thetext>Comment on attachment 189431
Proposed fix

Cleared review? from attachment 189431 so that this bug does not appear in http://webkit.org/pending-review.  If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>189431</attachid>
            <date>2013-02-20 17:59:03 -0800</date>
            <delta_ts>2013-11-05 08:51:11 -0800</delta_ts>
            <desc>Proposed fix</desc>
            <filename>0002-CMake-shouldn-t-need-build-target-to-be-specified-af.patch</filename>
            <type>text/plain</type>
            <size>1544</size>
            <attacher name="Mark Salisbury">mark.salisbury</attacher>
            
              <data encoding="base64">RnJvbSAxMGI1MDIwNTIxN2ViODhkZmZlYjMzMmY0NjQzODBlM2ZlMDBhY2MxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXJrIFNhbGlzYnVyeSA8bWFyay5zYWxpc2J1cnlAaHAuY29t
PgpEYXRlOiBXZWQsIDIwIEZlYiAyMDEzIDE4OjI0OjUwIC0wNzAwClN1YmplY3Q6IFtQQVRDSCAy
LzVdIENNYWtlIHNob3VsZG4ndCBuZWVkIGJ1aWxkIHRhcmdldCB0byBiZSBzcGVjaWZpZWQgYWZ0
ZXIKIHIxNDA5OTAuIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTA0
MTQKCi0tLQogQ01ha2VMaXN0cy50eHQgfCA0ICsrKy0KIENoYW5nZUxvZyAgICAgIHwgOSArKysr
KysrKysKIDIgZmlsZXMgY2hhbmdlZCwgMTIgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoK
ZGlmZiAtLWdpdCBhL0NNYWtlTGlzdHMudHh0IGIvQ01ha2VMaXN0cy50eHQKaW5kZXggMGVjMDkx
ZC4uNDJmOTQ5YiAxMDA2NDQKLS0tIGEvQ01ha2VMaXN0cy50eHQKKysrIGIvQ01ha2VMaXN0cy50
eHQKQEAgLTcsNyArNyw5IEBAIHByb2plY3QoV2ViS2l0KQogaWYgKE5PVCBDTUFLRV9CVUl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