cmake-examples
cmake-examples copied to clipboard
how to run Cmakelist text file in visual studio
when trying to run the text file the pop-up named PLEASE SELECT A VALID STARTUP ITEM is showing up and i couldnt run a file. please help with the issue
what steps have you taken to run the text file? and which version of visual studio are you using, recent version has better CMake support.
Generally speaking, you should select a valid startup project which will be built into an executable, you can google how to do it. These may help you:
- Customize startup on Microsoft doc
- An answer on stackoverflow may help you.