<?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>145018</bug_id>
          
          <creation_ts>2015-05-14 13:49:47 -0700</creation_ts>
          <short_desc>[CMake] Don&apos;t read the LOCATION property of targets</short_desc>
          <delta_ts>2015-06-04 22:47:53 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>145635</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1094893</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-05-14 13:49:47 -0700</bug_when>
    <thetext>To silence the nasty warning we get when running cmake.

$ cmake --help-policy CMP0026
CMP0026
-------

Disallow use of the LOCATION target property.

CMake 2.8.12 and lower allowed reading the LOCATION target
property (and configuration-specific variants) to
determine the eventual location of build targets.  This relies on the
assumption that all necessary information is available at
configure-time to determine the final location and filename of the
target.  However, this property is not fully determined until later at
generate-time.  At generate time, the $&lt;TARGET_FILE&gt; generator
expression can be used to determine the eventual LOCATION of a target
output.

Code which reads the LOCATION target property can be ported to use the
$&lt;TARGET_FILE&gt; generator expression together with the file(GENERATE)
subcommand to generate a file containing the target location.

The OLD behavior for this policy is to allow reading the LOCATION
properties from build-targets.  The NEW behavior for this policy is to
not to allow reading the LOCATION properties from build-targets.

This policy was introduced in CMake version 3.0.  CMake version
3.2.2 warns when the policy is not set and uses OLD behavior.  Use
the cmake_policy command to set it to OLD or NEW explicitly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1094894</commentid>
    <comment_count>1</comment_count>
      <attachid>253142</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-05-14 13:54:38 -0700</bug_when>
    <thetext>Created attachment 253142
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1094900</commentid>
    <comment_count>2</comment_count>
      <attachid>253142</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-05-14 14:07:43 -0700</bug_when>
    <thetext>Comment on attachment 253142
Patch

Cleaner too. Nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1094937</commentid>
    <comment_count>3</comment_count>
      <attachid>253142</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-05-14 15:30:54 -0700</bug_when>
    <thetext>Comment on attachment 253142
Patch

Clearing flags on attachment: 253142

Committed r184357: &lt;http://trac.webkit.org/changeset/184357&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1094938</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-05-14 15:30:57 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>253142</attachid>
            <date>2015-05-14 13:54:38 -0700</date>
            <delta_ts>2015-05-14 15:30:54 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-145018-20150514155315.patch</filename>
            <type>text/plain</type>
            <size>1895</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTg0MzM1CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZDkzYTg0MWQxZjAxZjkxMzg5ZjcxMjk5MjZiYTQxZTBj
MzhjZWU2My4uN2ZlZmNkMTZkNmU1MDA5NTcwNTVhZDIzMzYzZDRkOTMwZWNlZDA0OSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2
IEBACisyMDE1LTA1LTE0ICBNaWNoYWVsIENhdGFuemFybyAgPG1jYXRhbnphcm9AaWdhbGlhLmNv
bT4KKworICAgICAgICBbQ01ha2VdIERvbid0IHJlYWQgdGhlIExPQ0FUSU9OIHByb3BlcnR5IG9m
IHRhcmdldHMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lk
PTE0NTAxOAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IFVzZSB0aGUgVEFSR0VUX0ZJTEVfRElSIGdlbmVyYXRvciBleHByZXNzaW9uIHRvIGRldGVybWlu
ZSB0aGUgbG9jYXRpb24gb2YgdGhlIHRlc3QgaW5qZWN0ZWQKKyAgICAgICAgYnVuZGxlLCByYXRo
ZXIgdGhhbiBhc3N1bWluZyB0aGF0IHRoZSBMT0NBVElPTiBwcm9wZXJ0eSBvZiBUZXN0V2ViS2l0
QVBJSW5qZWN0ZWRCdW5kbGUgd2lsbAorICAgICAgICBiZSB0aGUgc2FtZSBhdCBjb25maWd1cmUt
dGltZSBhcyBpdCBpcyBhdCBnZW5lcmF0ZS10aW1lLgorCisgICAgICAgICogVGVzdF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