Help: Clarify documentation of VS_PROJECT_IMPORT

Also add an example.
This commit is contained in:
Dan Walsh
2024-12-04 13:51:45 +00:00
committed by Brad King
parent 39b96cb0d9
commit a4fc66bb71

View File

@@ -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"
)