blob: 322f5a6d7f154f0111dfb955b37142a2939cc886 [file] [log] [blame]
VS_SETTINGS
-----------
.. versionadded:: 3.18
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.
:manual:`Generator expressions <cmake-generator-expressions(7)>` are supported.