New upstream version 3.27.0

ci/unstable
Timo Röhling 1 year ago
parent 1101acd15c
commit b7d3f47cc5

@ -78,6 +78,10 @@ to automatically export the same targets from the build tree as
transitive usage requirements of other targets that link to the transitive usage requirements of other targets that link to the
object libraries in their implementation. object libraries in their implementation.
This command exports all :ref:`build configurations` from the build tree.
See the :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>` variable to map
configurations of dependent projects to the exported configurations.
Exporting Targets to Android.mk Exporting Targets to Android.mk
""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""

@ -835,6 +835,8 @@ the ``FILE`` option must be a file name with the ``.cmake`` extension.
If a ``CONFIGURATIONS`` option is given then the file will only be installed If a ``CONFIGURATIONS`` option is given then the file will only be installed
when one of the named configurations is installed. Additionally, the when one of the named configurations is installed. Additionally, the
generated import file will reference only the matching target generated import file will reference only the matching target
configurations. See the :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>`
variable to map configurations of dependent projects to the installed
configurations. The ``EXPORT_LINK_INTERFACE_LIBRARIES`` keyword, if configurations. The ``EXPORT_LINK_INTERFACE_LIBRARIES`` keyword, if
present, causes the contents of the properties matching present, causes the contents of the properties matching
``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when ``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when

@ -4,7 +4,7 @@ set(_compiler_id_pp_test "defined(__clang__) && defined(__ARMCOMPILER_VERSION)")
set(_compiler_id_version_compute " set(_compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ARMCOMPILER_VERSION/1000000) # define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ARMCOMPILER_VERSION/1000000)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ARMCOMPILER_VERSION/10000 % 100) # define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ARMCOMPILER_VERSION/10000 % 100)
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ARMCOMPILER_VERSION % 10000)") # define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ARMCOMPILER_VERSION/100 % 100)")
string(APPEND _compiler_id_version_compute " string(APPEND _compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_INTERNAL @MACRO_DEC@(__ARMCOMPILER_VERSION)") # define @PREFIX@COMPILER_VERSION_INTERNAL @MACRO_DEC@(__ARMCOMPILER_VERSION)")

@ -2,7 +2,7 @@
set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MAJOR 3)
set(CMake_VERSION_MINOR 27) set(CMake_VERSION_MINOR 27)
set(CMake_VERSION_PATCH 0) set(CMake_VERSION_PATCH 0)
set(CMake_VERSION_RC 5) #set(CMake_VERSION_RC 0)
set(CMake_VERSION_IS_DIRTY 0) set(CMake_VERSION_IS_DIRTY 0)
# Start with the full version number used in tags. It has no dev info. # Start with the full version number used in tags. It has no dev info.
@ -21,7 +21,7 @@ endif()
if(NOT CMake_VERSION_NO_GIT) if(NOT CMake_VERSION_NO_GIT)
# If this source was exported by 'git archive', use its commit info. # If this source was exported by 'git archive', use its commit info.
set(git_info [==[8bcba75b1c CMake 3.27.0-rc5]==]) set(git_info [==[784596bd08 CMake 3.27.0]==])
# Otherwise, try to identify the current development source version. # Otherwise, try to identify the current development source version.
if(NOT git_info MATCHES "^([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]?[0-9a-f]?)[0-9a-f]* " if(NOT git_info MATCHES "^([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]?[0-9a-f]?)[0-9a-f]* "

@ -583,10 +583,8 @@ bool cmCPackInnoSetupGenerator::ProcessComponents()
"this script uses components }"); "this script uses components }");
// Installation types // Installation types
bool noTypes = true;
std::vector<cmCPackInstallationType*> types(InstallationTypes.size()); std::vector<cmCPackInstallationType*> types(InstallationTypes.size());
for (auto& i : InstallationTypes) { for (auto& i : InstallationTypes) {
noTypes = false;
types[i.second.Index - 1] = &i.second; types[i.second.Index - 1] = &i.second;
} }
@ -601,17 +599,16 @@ bool cmCPackInnoSetupGenerator::ProcessComponents()
typeInstructions.push_back(ISKeyValueLine(params)); typeInstructions.push_back(ISKeyValueLine(params));
} }
if (!noTypes) { // Inno Setup requires the additional "custom" type
// Inno Setup requires the "custom" type cmCPackInnoSetupKeyValuePairs customTypeParams;
cmCPackInnoSetupKeyValuePairs params;
params["Name"] = "\"custom\""; customTypeParams["Name"] = "\"custom\"";
params["Description"] = "\"{code:CPackGetCustomInstallationMessage}\""; customTypeParams["Description"] =
params["Flags"] = "iscustom"; "\"{code:CPackGetCustomInstallationMessage}\"";
customTypeParams["Flags"] = "iscustom";
allTypes.push_back("custom"); allTypes.push_back("custom");
typeInstructions.push_back(ISKeyValueLine(params)); typeInstructions.push_back(ISKeyValueLine(customTypeParams));
}
// Components // Components
std::vector<cmCPackComponent*> downloadedComponents; std::vector<cmCPackComponent*> downloadedComponents;

Loading…
Cancel
Save