|
@@ -57,19 +57,13 @@ Commands
|
|
|
:option:`cmake -P` scripts with a specified exit code.
|
|
:option:`cmake -P` scripts with a specified exit code.
|
|
|
|
|
|
|
|
* The :command:`export(SETUP)` sub-command was added to configure export sets.
|
|
* The :command:`export(SETUP)` sub-command was added to configure export sets.
|
|
|
- Its ``PACKAGE_DEPENDENCY`` option configures how :command:`find_dependency`
|
|
|
|
|
- calls are exported. Its ``TARGET`` option's ``XCFRAMEWORK_LOCATION``
|
|
|
|
|
- setting specifies the location of a ``.xcframework`` that can be
|
|
|
|
|
- substituted for an installed target.
|
|
|
|
|
|
|
+ Its ``TARGET`` option's ``XCFRAMEWORK_LOCATION`` setting specifies the
|
|
|
|
|
+ location of a ``.xcframework`` that can be substituted for an installed
|
|
|
|
|
+ target.
|
|
|
|
|
|
|
|
* The :command:`if` command gained new tests ``IS_READABLE``, ``IS_WRITABLE``
|
|
* The :command:`if` command gained new tests ``IS_READABLE``, ``IS_WRITABLE``
|
|
|
and ``IS_EXECUTABLE`` to check file or directory permissions.
|
|
and ``IS_EXECUTABLE`` to check file or directory permissions.
|
|
|
|
|
|
|
|
-* :command:`install(EXPORT)` and :command:`export(EXPORT)` learned a new
|
|
|
|
|
- ``EXPORT_PACKAGE_DEPENDENCIES`` argument, which can be used to generate
|
|
|
|
|
- :command:`find_dependency` calls based on what targets the exported targets
|
|
|
|
|
- depend on.
|
|
|
|
|
-
|
|
|
|
|
Variables
|
|
Variables
|
|
|
---------
|
|
---------
|
|
|
|
|
|
|
@@ -110,11 +104,6 @@ Properties
|
|
|
* The :prop_tgt:`CROSSCOMPILING_EMULATOR` target property now
|
|
* The :prop_tgt:`CROSSCOMPILING_EMULATOR` target property now
|
|
|
supports :manual:`generator expressions <cmake-generator-expressions(7)>`.
|
|
supports :manual:`generator expressions <cmake-generator-expressions(7)>`.
|
|
|
|
|
|
|
|
-* The :prop_tgt:`EXPORT_FIND_PACKAGE_NAME` target property was added to
|
|
|
|
|
- allow targets to specify what package name to pass when exporting
|
|
|
|
|
- :command:`find_dependency` calls. This property is initialized with a new
|
|
|
|
|
- :variable:`CMAKE_EXPORT_FIND_PACKAGE_NAME` variable.
|
|
|
|
|
-
|
|
|
|
|
* The :prop_tgt:`UNITY_BUILD` target property now supports the
|
|
* The :prop_tgt:`UNITY_BUILD` target property now supports the
|
|
|
Objective C (``OBJC``) and Objective C++ (``OBJCXX``) languages.
|
|
Objective C (``OBJC``) and Objective C++ (``OBJCXX``) languages.
|
|
|
|
|
|
|
@@ -185,9 +174,6 @@ Other Changes
|
|
|
:variable:`CMAKE_CROSSCOMPILING_EMULATOR` only when cross-compiling.
|
|
:variable:`CMAKE_CROSSCOMPILING_EMULATOR` only when cross-compiling.
|
|
|
See policy :policy:`CMP0158`.
|
|
See policy :policy:`CMP0158`.
|
|
|
|
|
|
|
|
-* :command:`FetchContent_MakeAvailable` now sets the
|
|
|
|
|
- :variable:`CMAKE_EXPORT_FIND_PACKAGE_NAME` variable for CMake projects.
|
|
|
|
|
-
|
|
|
|
|
* On Windows, when targeting the MSVC ABI, the :command:`find_library` command
|
|
* On Windows, when targeting the MSVC ABI, the :command:`find_library` command
|
|
|
now accepts ``.a`` file names after first considering ``.lib``. This is
|
|
now accepts ``.a`` file names after first considering ``.lib``. This is
|
|
|
symmetric with existing behavior when targeting the GNU ABI, in which the
|
|
symmetric with existing behavior when targeting the GNU ABI, in which the
|