qt_android_apply_arch_suffix

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

The command is defined in the Core component of the Qt6 package. Load the package with:

find_package(Qt6 COMPONENTS Core REQUIRED)

Note: This command is in technology preview and may change in future releases.

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

Synopsis

qt_android_apply_arch_suffix(target)

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

Description

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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.