[cmake-developers] [Review request] Topic ExternalProject_TEST_EXCLUDE_FROM_MAIN

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Sun Nov 30 16:38:32 EST 2014


Hello all,

Please review the topic ExternalProject_TEST_EXCLUDE_FROM_MAIN.

This patch adds an TEST_EXCLUDE_FROM_MAIN option to ExternalProject_Add.
If this option is enabled, the test step is created with the
EXCLUDE_FROM_MAIN option, and if TEST_BEFORE_INSTALL is enabled, the
install step does not depend on the test step.

This means that the test step is never executed, unless the test target
is explicitly created by calling ExternalProject_Add_StepTarget, or by
passing it with the STEP_TARGETS option, or with the EP_STEP_TARGETS
directory property.


These is the only commit in the topic:

* ExternalProject: Add TEST_EXCLUDE_FROM_MAIN option
  http://www.cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=ced29ab


Cheers,
 Daniele


More information about the cmake-developers mailing list