summaryrefslogtreecommitdiff
path: root/share/cmake-3.2/Help/command/enable_testing.rst
blob: 41ecd5b1bd05027ebe2900aed2f622d474ddca7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
enable_testing
--------------

Enable testing for current directory and below.

::

  enable_testing()

Enables testing for this directory and below.  See also the 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.