CMAKE_CROSSCOMPILING_EMULATOR.rst 487 B

123456789101112
  1. CMAKE_CROSSCOMPILING_EMULATOR
  2. -----------------------------
  3. This variable is only used when :variable:`CMAKE_CROSSCOMPILING` is on. It
  4. should point to a command on the host system that can run executable built
  5. for the target system.
  6. The command will be used to run :command:`try_run` generated executables,
  7. which avoids manual population of the TryRunResults.cmake file.
  8. It is also used as the default value for the
  9. :prop_tgt:`CROSSCOMPILING_EMULATOR` target property of executables.