set_source_files_properties.rst 552 B

123456789101112131415
  1. set_source_files_properties
  2. ---------------------------
  3. Source files can have properties that affect how they are built.
  4. ::
  5. set_source_files_properties([file1 [file2 [...]]]
  6. PROPERTIES prop1 value1
  7. [prop2 value2 [...]])
  8. Set properties associated with source files using a key/value paired
  9. list. See properties documentation for those known to CMake.
  10. Unrecognized properties are ignored. Source file properties are
  11. visible only to targets added in the same directory (CMakeLists.txt).