diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-11-30 21:28:43 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2014-12-05 09:24:16 (GMT) |
commit | 636f0c1d4fa3f003fff406b27306cd6883bcec75 (patch) | |
tree | 7fddedb619d2984ef5624c094e2494c2984a8ff8 /Help | |
parent | c90633df9eacb3063669ac0aad9506cea1885582 (diff) | |
download | CMake-636f0c1d4fa3f003fff406b27306cd6883bcec75.zip CMake-636f0c1d4fa3f003fff406b27306cd6883bcec75.tar.gz CMake-636f0c1d4fa3f003fff406b27306cd6883bcec75.tar.bz2 |
ExternalProject: Add TEST_EXCLUDE_FROM_MAIN option
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.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/ExternalProject_TEST_EXCLUDE_FROM_MAIN.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalProject_TEST_EXCLUDE_FROM_MAIN.rst b/Help/release/dev/ExternalProject_TEST_EXCLUDE_FROM_MAIN.rst new file mode 100644 index 0000000..dfbf108 --- /dev/null +++ b/Help/release/dev/ExternalProject_TEST_EXCLUDE_FROM_MAIN.rst @@ -0,0 +1,6 @@ +ExternalProject_TEST_EXCLUDE_FROM_MAIN +-------------------------------------- + +* The :module:`ExternalProject` module :command:`ExternalProject_Add` + command learned a ``TEST_EXCLUDE_FROM_MAIN`` option to exclude tests + from the main build. |