enable_testing.rst 332 B

12345678910111213
  1. enable_testing
  2. --------------
  3. Enable testing for current directory and below.
  4. ::
  5. enable_testing()
  6. Enables testing for this directory and below. See also the
  7. :command:`add_test` command. Note that ctest expects to find a test file
  8. in the build directory root. Therefore, this command should be in the
  9. source directory root.