Build: add ARM and aarch64 target architectures
commit5c237997789d5036556fbf728a70c5105209fe94
authorMario Konrad <mario.konrad@gmx.net>
Tue, 17 Jan 2023 08:57:38 +0000 (17 09:57 +0100)
committerMario Konrad <mario.konrad@gmx.net>
Tue, 17 Jan 2023 08:57:38 +0000 (17 09:57 +0100)
tree9d132623f83d85cd382cc3c51c1c042bfa45d57a
parent0c50454194ea7fb7acfc536efb26e2f0be1f6b1a
Build: add ARM and aarch64 target architectures

This patch adds the CMake presets for ARM and aarch64 target
architecture for building and testing.
If `binfmt_misc` is enabled on Linux hosts, the execution of unit tests
can be done by just using `ctest`. Otherwise, use `qemu-arm` or
`qemu-aarch64` respectively.

Currently (officially) supported for those target architectures are the
library and unit tests. Other parts may or may not work.
CMakeLists.txt
CMakePresets.json
README.md
cmake/toolchain-aarch64-linux-gcc10.cmake [new file with mode: 0644]
cmake/toolchain-arm-linux-gnueabihf-gcc10.cmake [new file with mode: 0644]
doc/devenv.dox
src/CMakeLists.txt
test/CMakeLists.txt