CMAKE_LANG_COMPILER_TARGET.rst 397 B

1234567891011
  1. CMAKE_<LANG>_COMPILER_TARGET
  2. ----------------------------
  3. The target for cross-compiling, if supported.
  4. Some compiler drivers are inherently cross-compilers, such as clang and
  5. QNX qcc. These compiler drivers support a command-line argument to specify
  6. the target to cross-compile for.
  7. This variable may only be set in a toolchain file specified by
  8. the :variable:`CMAKE_TOOLCHAIN_FILE` variable.