Files
Attacks-for-Bombs-1/cmake/toolchains/linux-arm32-clang.cmake
T

15 lines
718 B
CMake

# linux-arm32-clang: Clang building for 32-bit ARM (armhf) Linux.
#
# On 32-bit ARM hardware: a native build with the ordinary clang++.
# Any other Linux machine: a cross build with clang++ --target=arm-linux-gnueabihf
# (sudo apt install clang g++-arm-linux-gnueabihf -- the second package
# supplies the target's libstdc++/libc; or -DCMAKE_SYSROOT=...).
# If qemu-arm is installed it is registered as the
# emulator, so ctest can run the result.
#
# See _common.cmake (pmn_linux_toolchain) for the details and overrides.
include("${CMAKE_CURRENT_LIST_DIR}/_common.cmake")
pmn_toolchain_target("linux-arm32-clang")
pmn_linux_toolchain(arm32 clang)