Hi Folks, <br><br>I integrated topic <a href="https://github.com/commontk/CTK/commit/c67f5dd797b744170e8902a5338618aa76fb228c">shorter-superbuild-directory-layout</a> into CTK master.<br><br>Let me know if you experience any issue. <br>

<br>Thanks<br>Jc<br><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 1:22 PM, Stephen Aylward <span dir="ltr"><<a href="mailto:stephen.aylward@kitware.com">stephen.aylward@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

+1<br>
<br>
We use this structure in TubeTK<br>
<br>
s<br>
<br>
On Mon, Apr 11, 2011 at 12:21 PM, Jean-Christophe Fillion-Robin<br>
<div class="im"><<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> Hi Folks,<br>
><br>
> Using CTK as an external project in more and more project, the path length<br>
> could be an issue on windows platform.<br>
> Indeed, the path length on windows is limited to 260 characters. [1]<br>
><br>
> What motivates this change:<br>
><br>
> Such problem could arise, if, for example, your project is build in folder<br>
> like:<br>
><br>
> "c:/Dashboards/Nightly/YourProject-Superbuild-Qt-PythonQt-With-Tcl-NoCLI-nightly"<br>
><br>
> "YourProject" relying also on Superbuild and using CTK as an external<br>
> project .. will fail to build for some obscure reason.<br>
><br>
><br>
> Current CTK organization:<br>
><br>
> Currently the project are organized as described below:<br>
><br>
>  <CTK-SUPERBUILD>/CMakeExternals/Build/VTK<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Build/DCMTK<br>
> ...<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Source/VTK<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Source/DCMTK<br>
> ...<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Download/VTK<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Download/DCMTK<br>
> ...<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Stamp/VTK<br>
>  <CTK-SUPERBUILD>/CMakeExternals/Stamp/DCMTK<br>
> ...<br>
>  <CTK-SUPERBUILD>/CTK-build<br>
><br>
><br>
> Solution proposed:<br>
><br>
> With some minor changes, the structure would like:<br>
><br>
>  <CTK-SUPERBUILD>/CTK-build<br>
>  <CTK-SUPERBUILD>/VTK<br>
>  <CTK-SUPERBUILD>/VTK-build<br>
>  <CTK-SUPERBUILD>/VTK-cmake/src<br>
>  <CTK-SUPERBUILD>/VTK-cmake/tmp<br>
>  <CTK-SUPERBUILD>/VTK<br>
>  <CTK-SUPERBUILD>/DCMTK-build<br>
>  <CTK-SUPERBUILD>/DCMTK-cmake/src<br>
>  <CTK-SUPERBUILD>/DCMTK-cmake/tmp<br>
><br>
> Pros:<br>
>   - Doing so will decrease the average length of external project path<br>
> associated with CTK.<br>
>   - If needed, make the "cleaning" of external project easier "rm VTK*"<br>
> instead of "cd" in each CMakeExternals sub folders ..<br>
><br>
> Action plan:<br>
><br>
> I plan to implement and test this change this coming week.<br>
><br>
> That improvment shouldn't cause any issue, but If it happens to be a problem<br>
> within your project and you require some time to figure out a fix or would<br>
> like to contact me. Please, do it before the end of the week :)<br>
><br>
> Next week, following your comments I will then integrate the change to CTK<br>
> master.<br>
><br>
> Thanks<br>
> Jc<br>
><br>
> [1] <a href="http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath" target="_blank">http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath</a><br>
><br>
> --<br>
> <a href="tel:%2B1%20919%20869%208849" value="+19198698849">+1 919 869 8849</a><br>
><br>
><br>
</div></div><div class="im">> _______________________________________________<br>
> Ctk-developers mailing list<br>
> <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
<br>
</div>==============================<br>
Stephen R. Aylward, Ph.D.<br>
Director of Medical Imaging Research<br>
Kitware, Inc. - North Carolina Office<br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<font color="#888888">stephen.aylward (Skype)<br>
<a href="tel:%28919%29%20969-6990" value="+19199696990">(919) 969-6990</a> x300<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>