### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.0 Documentation »
- cmake-variables(7) »

# CMAKE_TOOLCHAIN_FILE

Path to toolchain file supplied to `cmake(1)`.

This variable is specified on the command line when cross-compiling with CMake. It is the path to a file which is read early in the CMake run and which specifies locations for compilers and toolchain utilities, and other target platform and compiler related information.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.0 Documentation »
- cmake-variables(7) »