CMakeLists.txt not found after deleting by mistake




I have been learning GitHub for the past few days. After editing a file in my repo, I accidentally deleted the CMakeLists.txt file from my local repository, because I didn't want to push the cmakelist.txt and since then I can't compile and run the programs in cLion. Now I know I can choose which files can be committed and pushed to GitHub but haven't succeeded in running the program again.


CMakeLists.txt not found in C:\Users\User\MyFolder Select CMakeLists.txt





1 comment
Comment actions Permalink


Sorry for the delay in response. You need to create the CMakeLists.txt file and select it as suggested in the error message.


Please sign in to leave a comment.