output_required_files.rst 615 B

12345678910111213141516171819
  1. output_required_files
  2. ---------------------
  3. Disallowed. See CMake Policy :policy:`CMP0032`.
  4. Approximate C preprocessor dependency scanning.
  5. This command exists only because ancient CMake versions provided it.
  6. CMake handles preprocessor dependency scanning automatically using a
  7. more advanced scanner.
  8. ::
  9. output_required_files(srcfile outputfile)
  10. Outputs a list of all the source files that are required by the
  11. specified srcfile. This list is written into outputfile. This is
  12. similar to writing out the dependencies for srcfile except that it
  13. jumps from .h files into .cxx, .c and .cpp files if possible.