[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] ExternalProject_Add dependency graph (dot/graphviz?) ?
From:       Nicholas Yue <yue.nicholas () gmail ! com>
Date:       2014-09-23 19:09:06
Message-ID: CADYXiJL+RX+kDY-fbzwotP2dWWYnV5CY0+CzZgJbOesDGCz48Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Micha,

  My interest is in "show me the dependencies the external project depends
on"

  I am considering migrating an in-house build system to build opensource
projects to using CMake.
  As there are many external packages and versions (close to 100), I'd like
to be able to visualize their dependency.
  Once the new system based on CMake is working, I need to build them for
different target OS to assist in migration from current OS to future OS
version.

  e.g.

ExternalProject_Add ( python264_static
    ....
  )

ExternalProject_Add ( python264
  DEPENDS
  python264_static
    ....
  )

ExternalProject_Add ( boost_1_47_0
  DEPENDS
  python264
    ....
  )

ExternalProject_Add ( alembic_1_5_5
  DEPENDS
  python264 boost_1_47_0
    ....
  )

Cheers


On 23 September 2014 11:58, Micha Hergarden <micha.hergarden@gmail.com>
wrote:

> On 09/22/2014 04:59 PM, Nicholas Yue wrote:
> > Hi,
> >
> >     CMake has graphviz output capability for dependency within a project.
> >
> >     Is there a way to graph dependency at the ExternalProject_Add()
> > level ?
> >
> > Cheers
> >
> Hello Nicholas,
>
> Can you clarify your question a bit more? Do you mean 'show me the
> external projects a target in my project depends on' or do you mean
> 'show me the dependencies the external project depens on', or something
> different altogether?
>
> With kind regards,
> Micha Hergarden
>
>


-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

[Attachment #5 (text/html)]

<div dir="ltr">Hi Micha,<div><br></div><div style>   My interest is in &quot;show me \
the dependencies the external project depends on&quot;</div><div><br></div><div \
style>   I am considering migrating an in-house build system to build opensource \
projects to using CMake.</div><div style>   As there are many external packages and \
versions (close to 100), I&#39;d like to be able to visualize their \
dependency.</div><div style>   Once the new system based on CMake is working, I need \
to build them for different target OS to assist in migration from current OS to \
future OS version.</div><div style><br></div><div style>   e.g.</div><div \
style><br></div><div style><div>ExternalProject_Add ( python264_static</div><div>     \
....</div><div>   )<br></div><div><br></div><div>ExternalProject_Add ( \
python264</div><div>   DEPENDS</div><div>   python264_static</div><div>      \
....</div><div>   )<br></div><div><br></div><div>ExternalProject_Add ( \
boost_1_47_0<br></div><div><div>   DEPENDS</div><div>   python264</div><div>      \
....</div><div>   )<br></div></div><div><br></div><div><div>ExternalProject_Add ( \
alembic_1_5_5<br></div><div><div>   DEPENDS</div><div>   python264 \
boost_1_47_0</div><div>      ....</div><div>   \
)<br></div></div></div><div><br></div></div><div style>Cheers</div><div \
style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 \
September 2014 11:58, Micha Hergarden <span dir="ltr">&lt;<a \
href="mailto:micha.hergarden@gmail.com" \
target="_blank">micha.hergarden@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 09/22/2014 04:59 PM, Nicholas Yue \
wrote:<br> &gt; Hi,<br>
&gt;<br>
&gt;        CMake has graphviz output capability for dependency within a project.<br>
&gt;<br>
&gt;        Is there a way to graph dependency at the ExternalProject_Add()<br>
&gt; level ?<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
</span>Hello Nicholas,<br>
<br>
Can you clarify your question a bit more? Do you mean &#39;show me the<br>
external projects a target in my project depends on&#39; or do you mean<br>
&#39;show me the dependencies the external project depens on&#39;, or something<br>
different altogether?<br>
<br>
With kind regards,<br>
Micha Hergarden<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Nicholas \
Yue<br>Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5<br>Custom Dev - C++ \
porting, OSX, Linux, Windows<br><a href="http://au.linkedin.com/in/nicholasyue" \
target="_blank">http://au.linkedin.com/in/nicholasyue</a><br><a \
href="https://vimeo.com/channels/naiadtools" \
target="_blank">https://vimeo.com/channels/naiadtools</a><br></div> </div>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic