Created by: Masterkatze
How to test it:
- Get a toolchain or build it using crosstool-ng for your platform
- Create cmake toolchain file, for example: https://gist.github.com/Masterkatze/074b1d58c6b5c7dd86eca869f4809707
- Install libraries for your platform into sysroot folder, for example:
~/x-tools/aarch64-rpi3-linux-gnu/aarch64-rpi3-linux-gnu/sysroot
. I got my libraries at https://archlinuxarm.org/packages but you (probably) need to get the libraries for your distro - Run cmake:
cmake .. -DCMAKE_TOOLCHAIN_FILE=path_to_toolchain_file/aarch64-rpi3-linux-gnu-toolchain.cmake
- Run make -jN