[Paraview-developers] Moving to hdf5-1.8.x

David Cole david.cole at kitware.com
Thu Apr 15 12:11:10 EDT 2010


On Thu, Apr 15, 2010 at 12:01 PM, Biddiscombe, John A. <biddisco at cscs.ch>wrote:

> So what exactly is the point of externalproject_add if you can't add an
> external project to the build?
>
>
The point of it is to enable easy creation of consistent builds of many
dependencies, so that you don't have to wire things up by hand. Which is
actually fairly compelling once you go beyond one simple dependency.

It's also very easy to customize and allows you to blend in builds of
non-CMake-built stuff as needed in a CMake-based build system.

But it is not (and never will be) a simple, drop-in replacement for
add_subdirectory. The reason is simple: it defers *all* steps possible,
including even downloading of source code from a URL, to *build* time. And
so information needed at configure time is not available.

See my article in The Source from October 2009, starting on p. 14, for more
details. http://kitware.com/products/archive/kitware_quarterly1009.pdf


HTH,
David C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20100415/b44eedea/attachment.htm>


More information about the Paraview-developers mailing list