CLion imported targets
已回答
Im have CMake project for embedded system, with several custom targets, like "flash", "erase", *.map file generation and etc.
When im open project with CLion, it successfully import these targets, generating "CMake Application targets"

These targets is not working. No settigs were imported.
When im make attempt to launch it, im get error "Executable is not specified".
But there is no executable for "erase" command for example.
I want to CLion import and execute targets from CMakeLists.txt, not setup it in IDE. How can i make it work?
请先登录再写评论。
Hello!
You need to build such targets (using the Build action), not to run/debug them. The settings should be set manually, sorry for the inconvenience.