summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf/VS_SETTINGS.rst
blob: 07194067ebfbedf4767203775c6caa824bdd8415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VS_SETTINGS
-----------

Set any item metadata on a non-built file.

Takes a list of ``Key=Value`` pairs. Tells the Visual Studio generator to set
``Key`` to ``Value`` as item metadata on the file.

For example:

.. code-block:: cmake

  set_property(SOURCE file.hlsl PROPERTY VS_SETTINGS "Key=Value" "Key2=Value2")

will set ``Key`` to ``Value`` and ``Key2`` to ``Value2`` on the
``file.hlsl`` item as metadata.

Generator expressions are supported.