enable_testing.rst 321 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 add_test
  7. command. Note that ctest expects to find a test file in the build
  8. directory root. Therefore, this command should be in the source
  9. directory root.