mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-27 22:52:43 +08:00

* Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
14 lines
351 B
ReStructuredText
14 lines
351 B
ReStructuredText
enable_testing
|
|
--------------
|
|
|
|
Enable testing for current directory and below.
|
|
|
|
.. code-block:: cmake
|
|
|
|
enable_testing()
|
|
|
|
Enables testing for this directory and below. See also the
|
|
:command:`add_test` command. Note that ctest expects to find a test file
|
|
in the build directory root. Therefore, this command should be in the
|
|
source directory root.
|