CMAKE_CROSSCOMPILING_EMULATOR doesn't support arguments
I would like to use a python script as the emulator, however when I set CMAKE_CROSSCOMPILING_EMULATOR
like this:
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/python emulator.py)
cmake treats it as a whole command and tries to call executable named /usr/bin/python emulator.py
, which obviously fails.