Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorMartin Hořeňovský2018-07-22 18:01:42 +0200
committerMartin Hořeňovský2018-07-22 18:01:42 +0200
commit797d3b04dfab2bcfb4d2da17c6649727c60f49f1 (patch)
tree5bbba46553b29ac23af3b8669b3c1e641d11de7b /docs
parent82b8744b8cd645ed461479fd826f42cd72de01b4 (diff)
downloadcatch3-797d3b04dfab2bcfb4d2da17c6649727c60f49f1.tar.gz
Reinstate CATCH_BUILD_TESTING CMake option
Diffstat (limited to 'docs')
-rw-r--r--docs/cmake-integration.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmake-integration.md b/docs/cmake-integration.md
index 7120d163..5f57c276 100644
--- a/docs/cmake-integration.md
+++ b/docs/cmake-integration.md
@@ -171,6 +171,10 @@ automatically discovered. Defaults to `OFF`.
Catch2's CMake project also provides some options for other projects
that consume it. These are
+* `CATCH_BUILD_TESTING` -- When `ON`, Catch2's SelfTest project will be
+built. Defaults to `ON`. Note that Catch2 also obeys `BUILD_TESTING` CMake
+variable, so _both_ of them need to be `ON` for the SelfTest to be built,
+and either of them can be set to `OFF` to disable building SelfTest.
* `CATCH_BUILD_EXAMPLES` -- When `ON`, Catch2's usage examples will be
built. Defaults to `OFF`.
* `CATCH_INSTALL_DOCS` -- When `ON`, Catch2's documentation will be