Clion 2021.1.1 import from existing sources
Answered
Hi,
I am trying out 2021.1.1, however I am unable to find an option for importing project from existing sources. I have 2019 version where I have extensively used this feature to convert non CMAKE existing projects to CMAKE projects by using this ability. It works out just fine in 2019, but I am unable to find a way to do this in 2021.1.1. Any ideas on how I can do this where it automatically generates a Cmakelist.txt file from exiting sources?
Please sign in to leave a comment.
Hello!
The "New CMake Project from Sources" action was often confused with the regular "Open Project" action intended for opening an existing CMake project. So we removed this action, and now projects based on unsupported build systems can be converted into CMake projects using
File | Openas described in https://www.jetbrains.com/help/clion/creating-new-project-from-scratch.html#import-prj.If the project is based on the build system supported by CLion, CLion will try to open it and won't suggest to convert into a CMake project.