Home

Awesome

Windows Cross Build via Clang-CL + LLD

toolchain file: windows.clang.cmake

MSVC ABI compatible. Supports x86, x64, arm64(clang-8+).

Requirements

Options

Defined CMake Vars

Defined C/C++ Macros

Generic Linux Clang+LLD Toolchain

toolchain file: linux.clang.cmake

Clang(set by CMAKE_C_COMPILER or auto detect) and LLVM tools are auto detected and highest version is selected.

Options

Also applies for raspberry pi, sunxi etc.

Legacy Raspberry Pi Host/Cross Build via Clang + LLD

toolchain file: rpi.clang.cmake

NOTE: using linux.clang.cmake and a generic linux sysroot is enough for a modern arm64 rpi OS. Legacy rpi(1~3) includes brcm libraries.

Requirements

Options

Defined CMake Vars

Defined C/C++ Macros

iOS

toolchain file: ios.cmake (https://github.com/wang-bin/ios.cmake)

Options

Additional Tools

include(tools.cmake) after project(...)

Features

Defined CMake Vars

Functions

Defined C Macros