<?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>184973</bug_id>
          
          <creation_ts>2018-04-25 09:17:40 -0700</creation_ts>
          <short_desc>[OpenVR] CMake options exposed to users</short_desc>
          <delta_ts>2018-04-25 12:53:49 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annulen</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1417572</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-25 09:17:40 -0700</bug_when>
    <thetext>Splitting this out from bug #184972:

The OpenVR build options BUILD_SHARED, USE_LIBCXX, and USE_CUSTOM_LIBCXX are all currently exposed to users building WebKit. I don&apos;t think any openvr options should be exposed, because they look like normal WebKit options and there&apos;s not really any way to know that they&apos;re not. So I would mark these all as advanced. But then there&apos;s not really any point of keeping the options at all, right? That seems to indicate that the options should be removed. Sergio, what do you think we should do here? At the least, I would mark them all as advanced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417584</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin Tokarev">annulen</who>
    <bug_when>2018-04-25 09:44:00 -0700</bug_when>
    <thetext>In case you are wondering how to avoid exporting these options, I know 2 ways:
* Remove option() calls in 3rd-party cmake files
* Build 3rd party cmake projects via ExternalProject instead of including their project files into our build system (which may result in other side effects as well, e.g. changing global variables)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417689</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-25 12:53:49 -0700</bug_when>
    <thetext>(In reply to Konstantin Tokarev from comment #1)
&gt; * Build 3rd party cmake projects via ExternalProject instead of including
&gt; their project files into our build system (which may result in other side
&gt; effects as well, e.g. changing global variables)

That sounds intriguing. At least it would reduce the need to patch OpenVR so much.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>