CMake/Help/variable/CMAKE_TOOLCHAIN_FILE.rst

10 lines
370 B
ReStructuredText

CMAKE_TOOLCHAIN_FILE
--------------------
Path to toolchain file supplied to :manual:`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.