XCODE_FILE_ATTRIBUTES.rst 369 B

123456789101112131415
  1. XCODE_FILE_ATTRIBUTES
  2. ---------------------
  3. .. versionadded:: 3.7
  4. Add values to the :generator:`Xcode` ``ATTRIBUTES`` setting on its reference to a
  5. source file. Among other things, this can be used to set the role on
  6. a ``.mig`` file:
  7. .. code-block:: cmake
  8. set_source_files_properties(defs.mig
  9. PROPERTIES
  10. XCODE_FILE_ATTRIBUTES "Client;Server"
  11. )