zephyr/cmake/emu/native.cmake
Anas Nashif 4592ff2d5a native: build zephyr.exe for posix arch
To indicate the generated binary is executable on the host, add .exe
extension to the generated ELF file.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-27 14:16:08 -05:00

7 lines
152 B
CMake

add_custom_target(run
COMMAND
${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_EXE_NAME}
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
USES_TERMINAL
)