[Ctk-developers] Coming changes in External project organization

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Sun May 15 16:58:07 EDT 2011


Hi Folks,

I integrated topic
shorter-superbuild-directory-layout<https://github.com/commontk/CTK/commit/c67f5dd797b744170e8902a5338618aa76fb228c>into
CTK master.

Let me know if you experience any issue.

Thanks
Jc

On Mon, Apr 11, 2011 at 1:22 PM, Stephen Aylward <
stephen.aylward at kitware.com> wrote:

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



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110515/b70751d8/attachment.html>


More information about the Ctk-developers mailing list