cmake/Help/command/set_source_files_properties.rst

20 lines
616 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
set_source_files_properties
---------------------------
Source files can have properties that affect how they are built.
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
set_source_files_properties([file1 [file2 [...]]]
PROPERTIES prop1 value1
[prop2 value2 [...]])
2019-11-11 23:01:05 +01:00
Sets properties associated with source files using a key/value paired
list.
See also the :command:`set_property(SOURCE)` command.
See :ref:`Source File Properties` for the list of properties known
2015-08-17 11:37:30 +02:00
to CMake. Source file properties are visible only to targets added
2019-11-11 23:01:05 +01:00
in the same directory (``CMakeLists.txt``).