summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/command/set_target_properties.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Help/command/set_target_properties.rst')
-rw-r--r--share/cmake-3.18/Help/command/set_target_properties.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/command/set_target_properties.rst b/share/cmake-3.18/Help/command/set_target_properties.rst
new file mode 100644
index 0000000..597be23
--- /dev/null
+++ b/share/cmake-3.18/Help/command/set_target_properties.rst
@@ -0,0 +1,20 @@
+set_target_properties
+---------------------
+
+Targets can have properties that affect how they are built.
+
+.. code-block:: cmake
+
+ set_target_properties(target1 target2 ...
+ PROPERTIES prop1 value1
+ prop2 value2 ...)
+
+Sets properties on targets. The syntax for the command is to list all
+the targets you want to change, and then provide the values you want to
+set next. You can use any prop value pair you want and extract it
+later with the :command:`get_property` or :command:`get_target_property`
+command.
+
+See also the :command:`set_property(TARGET)` command.
+
+See :ref:`Target Properties` for the list of properties known to CMake.