set_directory_properties.rst 501 B

123456789101112131415
  1. set_directory_properties
  2. ------------------------
  3. Set a property of the directory.
  4. ::
  5. set_directory_properties(PROPERTIES prop1 value1 prop2 value2)
  6. Set a property for the current directory and subdirectories. If the
  7. property is not found, CMake will report an error. The properties
  8. include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES,
  9. INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES.
  10. ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned as
  11. a part of "make clean" stage.