9160d6c241
Prefix test commands with the CROSSCOMPILING_EMULATOR property for target executables. This allows test suites to be run on the host when crosscompiling.
9 lines
183 B
CMake
9 lines
183 B
CMake
include(RunCMake)
|
|
|
|
set(RunCMake_TEST_OPTIONS
|
|
"-DCMAKE_CROSSCOMPILING_EMULATOR=${PSEUDO_EMULATOR}")
|
|
|
|
run_cmake(CrosscompilingEmulatorProperty)
|
|
run_cmake(TryRun)
|
|
run_cmake(AddTest)
|