Debugging/Running executables in cmake/Visual Studio project
- by Paul
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 ?