CMAKE_TOOLCHAIN_FILE.rst 370 B

123456789
  1. CMAKE_TOOLCHAIN_FILE
  2. --------------------
  3. Path to toolchain file supplied to :manual:`cmake(1)`.
  4. This variable is specified on the command line when cross-compiling with CMake.
  5. It is the path to a file which is read early in the CMake run and which
  6. specifies locations for compilers and toolchain utilities, and other target
  7. platform and compiler related information.