[cmake-developers] Review Request: Topic ExternalProject_exclude-from-all

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Fri Dec 6 12:36:50 EST 2013


On 04/12/13 10:15, Daniele E. Domenichelli wrote:
> Please review the topic ExternalProject_exclude-from-all.

I added a second part to the patch to ad an EXCLUDE_FROM_ALL argument to
ExternalProject_Add

If this is set, the "all" target will not depend on the external project

This might be useful for several reasons, for example the library could
be useful only for the "make test" target, but not for the main build,
or one could use it to download some external documentation or examples,
not required from the main build.


Cheers,
 Daniele



More information about the cmake-developers mailing list