Configures the target binary's name to include an architecture-specific suffix.
命令的定義在
Core
組件對於
Qt6
包,可以像這樣加載:
find_package(Qt6 REQUIRED COMPONENTS Core)
該命令在 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)
若
無版本命令
被禁用,使用
qt6_android_apply_arch_suffix()
代替。它支持如此命令的一組相同自變量。
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.