qt_android_apply_arch_suffix

Configures the target binary's name to include an architecture-specific suffix.

The command is defined in the 核心 组件对于 Qt6 package, which can be loaded like so:

find_package(Qt6 REQUIRED COMPONENTS Core)
					

This command was introduced in Qt 6.0.

警告: This command is deprecated since Qt 6.5. Use qt_add_executable or qt_add_library 代替。

注意: This command should only be called if targeting the Android platform.

概要

qt_android_apply_arch_suffix(target)
					

versionless commands are disabled, use qt6_android_apply_arch_suffix() instead. It supports the same set of arguments as this command.

描述

The CMake SUFFIX target property controls the suffix used on the file name of the target's built binary. This command is a convenience for setting that property to an architecture-specific value. This is useful when installing multiple builds for different Android architectures into the same install location, as it prevents the libraries for different architectures from overwriting each other.