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

Brad King brad.king at kitware.com
Wed Dec 4 08:28:40 EST 2013


On 12/04/2013 04:15 AM, Daniele E. Domenichelli wrote:
> Please review the topic ExternalProject_exclude-from-all.
> 
> When adding a new step using ExternalProject_Add_Step, the main target
> will depend on this step.
> This option allows one to add a step that will not be executed when the
> main target for the external project is executed.
> 
> This gives a lot more freedom when creating custom targets for external
> projects.

I think the option should be called "EXCLUDE_FROM_MAIN" or something
without "ALL" in it.  Otherwise it looks related to the EXCLUDE_FROM_ALL
settings used for the "make all" CMake builtin target.

-Brad



More information about the cmake-developers mailing list