cmake/Help/prop_tgt/VS_PACKAGE_REFERENCES.rst

16 lines
419 B
ReStructuredText
Raw Normal View History

2019-11-11 23:01:05 +01:00
VS_PACKAGE_REFERENCES
---------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.15
2019-11-11 23:01:05 +01:00
Visual Studio package references for nuget.
Adds one or more semicolon-delimited package references to a generated
Visual Studio project. The version of the package will be
underscore delimited. For example, ``boost_1.7.0;nunit_3.12.*``.
.. code-block:: cmake
set_property(TARGET ${TARGET_NAME} PROPERTY
VS_PACKAGE_REFERENCES "boost_1.7.0")