summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-03-22 16:16:39 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-09 04:50:39 (GMT)
commit312527de473692e17f2b858a87faa157c73e488f (patch)
tree13412b9e46c319e2d1af6b6478cc17624c11ad9e /Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst
parent4b7a82b4edf7f148c9d1a7ec06c7aece7b21d56b (diff)
downloadCMake-312527de473692e17f2b858a87faa157c73e488f.zip
CMake-312527de473692e17f2b858a87faa157c73e488f.tar.gz
CMake-312527de473692e17f2b858a87faa157c73e488f.tar.bz2
document COMMON_LANGUAGE_RUNTIME target properties
Diffstat (limited to 'Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst')
-rw-r--r--Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst b/Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst
new file mode 100644
index 0000000..28517e6
--- /dev/null
+++ b/Help/prop_tgt/COMMON_LANGUAGE_RUNTIME.rst
@@ -0,0 +1,19 @@
+COMMON_LANGUAGE_RUNTIME
+-----------------------
+
+By setting this target property, the target is configured to build with
+``C++/CLI`` support.
+
+The Visual Studio generator defines the ``clr`` parameter depending on
+the value of ``COMMON_LANGUAGE_RUNTIME``:
+
+* property not set: native C++ (i.e. default)
+* property set but empty: mixed unmanaged/managed C++
+* property set to any non empty value: managed C++
+
+Supported values: ``""``, ``"pure"``, ``"safe"``
+
+This property is only evaluated :ref:`Visual Studio Generators` for
+VS 2010 and above.
+
+See also :prop_tgt:`IMPORTED_COMMON_LANGUAGE_RUNTIME`