Automatically add run configuration with an executable

已回答

In our project we add a lot of executables

add_executable(stamtest_main main.c)

which creates the regular run config

 

In order to run this executable we want to use an external program, like

xt-run --xtensa-core=core --xtensa-system=/home/dev/xtensa/XtDevTools/install/builds/RG-2017.7-linux/core/config --xtensa-params= --console /path/to/target/stamtest_main

 

So we add manually the run config

 

How can we automate this process?

 

Thank you

0
Avatar
Permanently deleted user

That doesn't help me, because for every target I pass different arguments.

0

请先登录再写评论。