Debugging/Running executables in cmake/Visual Studio project

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-04-13T14:22:30Z Indexed on 2010/04/13 14:22 UTC
Read the original article Hit count: 272

Filed under:
|
|

We are moving from hand-managed Visual Studio projects to cross platform cmake.

We used to open a solutions file, select a project as "Startup Target" and push Ctrl+F5 or F5 debug or run.

Now cmake has this install concept. It requires me to run the install target. But the install project doesn't have any executables set so it can not be used to start with debugging.

If I set my executable project as a startup target, then install will not run, so I can not debug.

I am sure there is a better way of doing this.

Any ideas ?

© Stack Overflow or respective owner

Related posts about cmake

Related posts about visual-studio