diff options
author | Matt Davies <matthew.davies@sony.com> | 2020-03-27 15:40:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-27 16:01:21 (GMT) |
commit | 0723e04f7a13ca1b1ae5c4ef2c603b922bcf82e8 (patch) | |
tree | 66de081ad2b7fe2d3cdb2ee71c068b7265f3defe /Help/prop_tgt | |
parent | 2ca1102f8347b0d25b476a9a785977f2dc8a812b (diff) | |
download | CMake-0723e04f7a13ca1b1ae5c4ef2c603b922bcf82e8.zip CMake-0723e04f7a13ca1b1ae5c4ef2c603b922bcf82e8.tar.gz CMake-0723e04f7a13ca1b1ae5c4ef2c603b922bcf82e8.tar.bz2 |
VS: Add documentation for VS_SETTINGS and VS_SOURCE_SETTINGS_<tool>.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/VS_SOURCE_SETTINGS_tool.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Help/prop_tgt/VS_SOURCE_SETTINGS_tool.rst b/Help/prop_tgt/VS_SOURCE_SETTINGS_tool.rst new file mode 100644 index 0000000..f706888 --- /dev/null +++ b/Help/prop_tgt/VS_SOURCE_SETTINGS_tool.rst @@ -0,0 +1,19 @@ +VS_SOURCE_SETTINGS_<tool> +------------------------- + +Set any item metadata on all non-built files that use <tool>. + +Takes a list of ``Key=Value`` pairs. Tells the Visual Studio generator +to set ``Key`` to ``Value`` as item metadata on all non-built files +that use ``<tool>``. + +For example: + +.. code-block:: cmake + + set_property(TARGET main PROPERTY VS_SOURCE_SETTINGS_FXCompile "Key=Value" "Key2=Value2") + +will set ``Key`` to ``Value`` and ``Key2`` to ``Value2`` for all +non-built files that use ``FXCompile``. + +Generator expressions are supported. |