.. _DUNE_BUILD_TESTS_ON_MAKE_ALL:

DUNE_BUILD_TESTS_ON_MAKE_ALL
============================

.. cmake_variable:: DUNE_BUILD_TESTS_ON_MAKE_ALL

   You may set this variable through your opts file or on a per module level (in the toplevel
   :code:`CMakeLists.txt` before :code:`include(DuneMacros)`) to have the Dune build system
   build all tests during `make all`. Note, that this may take quite some time for some modules.
   If not in use, you have to build tests through the target :code:`build_tests`.

