Files
CMake/Help/variable/PROJECT-NAME_SPDX_LICENSE.rst
Matthew Woehlke fba540daf6 project: Add SPDX_LICENSE argument
Add an argument to the `project` command to allow specifying a license
for a project as a whole. This is in addition to specifying licenses on
individual targets, and will be used to set the license(s) on exported
packages.

Also, move listing of `COMPAT_VERSION` variables to follow
lexicographical order.
2025-06-20 14:01:25 -04:00

12 lines
308 B
ReStructuredText

<PROJECT-NAME>_SPDX_LICENSE
---------------------------
.. versionadded:: 4.2
.. note::
Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO``.
Value given to the ``SPDX_LICENSE`` option of the most recent call to the
:command:`project` command with project name ``<PROJECT-NAME>``, if any.