CLion imported targets

Answered

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? 

 

 

 

0
1 comment

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.

0

Please sign in to leave a comment.