<div dir="ltr"><div><div>In SetupForDevelopment.sh we could ask if the developer wants to create an VTKExternalData directory, parallel to the source tree.<br></div><div><br></div>In the CMakeLists.txt for VTK, we could use FindPath to locate the VTKExternalData directory. If it is not found in the "usual" places, we could use the default behavior.<br>


<br></div>Something like;<br><pre>if (NOT ExternalData_OBJECT_STORES)<br>  find_path(VTKExternalDataPath NAMES VTKExternalData PATHS ../${VTK_SOURCE} ${HOME})<br></pre><pre>  if(VTKExternalDataPath)<br>    set(ExternalData_OBJECT_STORES ${VTKExternalDataPath})<br>
  endif()<br></pre><pre>endif()<br></pre><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 21, 2013 at 1:44 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 05/21/2013 01:40 PM, Brad King wrote:<br>
> My argument is only that default behavior with *no* local configuration<br>
> should not touch anything outside the source or build tree.<br>
<br>
</div>There are already several steps VTK developers run locally:<br>
<br>
* Run Utilities/SetupForDevelopment.sh<br>
* Clone VTKData<br>
* Run CMake and point VTK_DATA_ROOT at VTKData<br>
<br>
We can fold local configuration needed to enable an external default<br>
into one or more of those steps.  I'm working on a patch to do this<br>
and will push for review.<br>
<span><font color="#888888"><br>
-Brad<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div></div>