summaryrefslogtreecommitdiffstats
path: root/Help/prop_sf
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-02-23 15:48:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-01 20:31:05 (GMT)
commit9588d0a2e2442e6cc07dd4563399e257d95c792b (patch)
tree3042f9b4c6300ee2e57d2feecb0ac5cb282808ca /Help/prop_sf
parent6cbad490c2fdbd9bdc67b406b9f2dcdc21e08ddb (diff)
downloadCMake-9588d0a2e2442e6cc07dd4563399e257d95c792b.zip
CMake-9588d0a2e2442e6cc07dd4563399e257d95c792b.tar.gz
CMake-9588d0a2e2442e6cc07dd4563399e257d95c792b.tar.bz2
VS: add VS_CSHARP_<tagname> sourcefile property
Diffstat (limited to 'Help/prop_sf')
-rw-r--r--Help/prop_sf/VS_CSHARP_tagname.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/Help/prop_sf/VS_CSHARP_tagname.rst b/Help/prop_sf/VS_CSHARP_tagname.rst
new file mode 100644
index 0000000..d42159f
--- /dev/null
+++ b/Help/prop_sf/VS_CSHARP_tagname.rst
@@ -0,0 +1,19 @@
+VS_CSHARP_<tagname>
+-------------------
+
+Visual Studio and CSharp source-file-specific configuration.
+
+Tell the Visual Studio generator to set the source file tag
+``<tagname>`` to a given value in the generated Visual Studio CSharp
+project. Ignored on other generators and languages. This property
+can be used to define dependencies between source files or set any
+other Visual Studio specific parameters.
+
+Example usage:
+
+.. code-block:: cmake
+
+ set_source_files_property(<filename>
+ PROPERTIES
+ VS_CSHARP_DependentUpon <other file>
+ VS_CSHARP_SubType "Form")