mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
Help: Clarify documentation of VS_PROJECT_IMPORT
Also add an example.
This commit is contained in:
@@ -5,6 +5,14 @@ VS_PROJECT_IMPORT
|
||||
|
||||
Visual Studio managed project imports
|
||||
|
||||
Adds to a generated Visual Studio project one or more semicolon-delimited paths
|
||||
to .props files needed when building projects from some NuGet packages.
|
||||
For example, ``my_packages_path/MyPackage.1.0.0/build/MyPackage.props``.
|
||||
Adds to a generated Visual Studio project one or more paths to ``.props``
|
||||
files needed when building projects from some NuGet packages.
|
||||
|
||||
For example:
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
set_property(TARGET myTarget PROPERTY VS_PROJECT_IMPORT
|
||||
"my_packages_path/PackageA.1.0.0/build/PackageA.props"
|
||||
"my_packages_path/PackageB.1.0.0/build/PackageB.props"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user