diff options
author | Bob Apthorpe <bob.apthorpe@gmail.com> | 2020-10-22 23:01:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-11-05 15:49:25 (GMT) |
commit | 41ae7c4e5161427eb46319231dcb475386862760 (patch) | |
tree | fc729cdcc9b5ac1a03bb2a12f3d831389b68103b /Help/release/dev/cpack-nuget.rst | |
parent | 3a82ff6a11d643c4a5959f65ea538a3b60784a16 (diff) | |
download | CMake-41ae7c4e5161427eb46319231dcb475386862760.zip CMake-41ae7c4e5161427eb46319231dcb475386862760.tar.gz CMake-41ae7c4e5161427eb46319231dcb475386862760.tar.bz2 |
CPack/NuGet: Add settings for the license, icon, and language
Also update the XML Schema.
Fixes: #21348
Diffstat (limited to 'Help/release/dev/cpack-nuget.rst')
-rw-r--r-- | Help/release/dev/cpack-nuget.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Help/release/dev/cpack-nuget.rst b/Help/release/dev/cpack-nuget.rst new file mode 100644 index 0000000..2c28b59 --- /dev/null +++ b/Help/release/dev/cpack-nuget.rst @@ -0,0 +1,31 @@ +cpack-nuget +----------- + +* The :cpack_gen:`CPack NuGet Generator` gained options: + + - :variable:`CPACK_NUGET_PACKAGE_ICON` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_ICON` + allow package icons to be specified by local files. + - :variable:`CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_LICENSE_EXPRESSION` add + support for specifying licenses recognized by the + `Software Package Data Exchange`_ (SPDX). + - :variable:`CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_LICENSE_FILE_NAME` allow + licenses to be specified by local files. + - :variable:`CPACK_NUGET_PACKAGE_LANGUAGE` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_LANGUAGE` allow the locale + for a package to be specified, for example ``en_CA``. + + Some other variables have been deprecated to reflect changes in the + NuGet specification: + + - :variable:`CPACK_NUGET_PACKAGE_ICONURL` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_ICONURL` have been deprecated; + replace with a reference to a local icon file. + - :variable:`CPACK_NUGET_PACKAGE_LICENSEURL` and + :variable:`CPACK_NUGET_<compName>_PACKAGE_LICENSEURL` have been deprecated; + replace with a reference to the project's license file or SPDX + license expression. + +.. _Software Package Data Exchange: https://spdx.org/ |