From 169ca5960840552054cf9934f1eaaf155b4f5d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 11 Nov 2022 20:35:46 +0100 Subject: [PATCH] doc: mention CORRADE_TESTSUITE_TEST_TARGET in building docs. It's inherited from Corrade so nothing is explicitly needed here to support it, but it's useful to mention it. --- doc/building.dox | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/building.dox b/doc/building.dox index 9cd612080..0c36a6ca9 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -816,6 +816,12 @@ ctest -R GLTest # run only tests requiring OpenGL context Tests requiring Vulkan to work are also disabled by default, enable them with `MAGNUM_BUILD_VK_TESTS`. +By default the tests are compiled as part of the implicit `ALL` target. Use the +`CORRADE_TESTSUITE_TEST_TARGET` CMake variable to create a dedicated target for +building just the tests. See the documentation of the +@ref corrade-cmake-add-test "corrade_add_test()" CMake macro for more +information. + @section building-doc Building documentation The documentation is generated using [Doxygen](http://doxygen.org) with the