1CMAKE_TOOLCHAIN_FILE 2-------------------- 3 4Path to toolchain file supplied to :manual:`cmake(1)`. 5 6This variable is specified on the command line when cross-compiling with CMake. 7It is the path to a file which is read early in the CMake run and which 8specifies locations for compilers and toolchain utilities, and other target 9platform and compiler related information. 10 11Relative paths are allowed and are interpreted first as relative to the 12build directory, and if not found, relative to the source directory. 13 14This is initialized by the :envvar:`CMAKE_TOOLCHAIN_FILE` environment 15variable if it is set when a new build tree is first created. 16