TEST_INCLUDE_FILE.rst 537 B

1234567891011121314
  1. TEST_INCLUDE_FILE
  2. -----------------
  3. .. deprecated:: 3.10
  4. Use the :prop_dir:`TEST_INCLUDE_FILES` directory property instead, which
  5. supports specifying multiple files.
  6. The ``TEST_INCLUDE_FILE`` directory property specifies a CMake script that is
  7. included and processed when ``ctest`` is run on the directory.
  8. If both the ``TEST_INCLUDE_FILE`` and :prop_dir:`TEST_INCLUDE_FILES` directory
  9. properties are set, the script specified in ``TEST_INCLUDE_FILE`` is included
  10. first, followed by the scripts listed in ``TEST_INCLUDE_FILES``.