diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2016-12-13 07:49:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-13 18:51:50 (GMT) |
commit | 55da7e501ef114a3eac835396dae2187b7af96e8 (patch) | |
tree | 3a70d247dc794ccb6ec1eeaf6d8d54e3fc216157 /Help | |
parent | e3a93c66cc9f1d578f880f19e17ad31cc731fa86 (diff) | |
download | CMake-55da7e501ef114a3eac835396dae2187b7af96e8.zip CMake-55da7e501ef114a3eac835396dae2187b7af96e8.tar.gz CMake-55da7e501ef114a3eac835396dae2187b7af96e8.tar.bz2 |
VS: add support for .NET references with hint paths
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-properties.7.rst | 2 | ||||
-rw-r--r-- | Help/prop_tgt/VS_DOTNET_REFERENCES_COPY_LOCAL.rst | 7 | ||||
-rw-r--r-- | Help/prop_tgt/VS_DOTNET_REFERENCE_refname.rst | 12 | ||||
-rw-r--r-- | Help/release/dev/vs-dotnet-references.rst | 13 |
4 files changed, 34 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index 2bbe2c3..971834e 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -274,7 +274,9 @@ Properties on Targets /prop_tgt/VS_CONFIGURATION_TYPE /prop_tgt/VS_DEBUGGER_WORKING_DIRECTORY /prop_tgt/VS_DESKTOP_EXTENSIONS_VERSION + /prop_tgt/VS_DOTNET_REFERENCE_refname /prop_tgt/VS_DOTNET_REFERENCES + /prop_tgt/VS_DOTNET_REFERENCES_COPY_LOCAL /prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION /prop_tgt/VS_GLOBAL_KEYWORD /prop_tgt/VS_GLOBAL_PROJECT_TYPES diff --git a/Help/prop_tgt/VS_DOTNET_REFERENCES_COPY_LOCAL.rst b/Help/prop_tgt/VS_DOTNET_REFERENCES_COPY_LOCAL.rst new file mode 100644 index 0000000..7641ba5 --- /dev/null +++ b/Help/prop_tgt/VS_DOTNET_REFERENCES_COPY_LOCAL.rst @@ -0,0 +1,7 @@ +VS_DOTNET_REFERENCES_COPY_LOCAL +------------------------------- + +Sets the **Copy Local** property for all .NET hint references in the target + +Boolean property to enable/disable copying of .NET hint references to +output directory. The default is ``ON``. diff --git a/Help/prop_tgt/VS_DOTNET_REFERENCE_refname.rst b/Help/prop_tgt/VS_DOTNET_REFERENCE_refname.rst new file mode 100644 index 0000000..5814005 --- /dev/null +++ b/Help/prop_tgt/VS_DOTNET_REFERENCE_refname.rst @@ -0,0 +1,12 @@ +VS_DOTNET_REFERENCE_<refname> +----------------------------- + +Visual Studio managed project .NET reference with name ``<refname>`` +and hint path. + +Adds one .NET reference to generated Visual Studio project. The +reference will have the name ``<refname>`` and will point to the +assembly given as value of the property. + +See also :prop_tgt:`VS_DOTNET_REFERENCES` and +:prop_tgt:`VS_DOTNET_REFERENCES_COPY_LOCAL` diff --git a/Help/release/dev/vs-dotnet-references.rst b/Help/release/dev/vs-dotnet-references.rst new file mode 100644 index 0000000..8998afb --- /dev/null +++ b/Help/release/dev/vs-dotnet-references.rst @@ -0,0 +1,13 @@ +vs-dotnet-references +-------------------- + +* The :ref:`Visual Studio Generators` for VS 2010 and above can + now handle .NET references with hintpaths. For this the new + target property group :prop_tgt:`VS_DOTNET_REFERENCE_<refname>` + was introduced. The ``<refname>`` part of the property name will + be the name of the reference, the value will be the actual + path to the assembly. + +* Copying of referenced assemblies to the output directory can + now be disabled using the target property + :prop_tgt:`VS_DOTNET_REFERENCES_COPY_LOCAL`. |