How to add existing C/C++ source files in a folder to an existed project?

Completed

Sorry for duplicate question: How to add existing C++ source files to the simple "Hello World" project?

And I don't want to edit "root CMakeLists.txt" which CLion use matually!!

But I really want to know why CLion does not support this feature ?

In my oppinion, this is not difficult. Because when you chooes "New CMake Project from Sources" option to create a new project, Clion will add source files automatically.

BUT, the only method to add files for me is delete root CMakeLists.txt and re-import folders、rebuild、reloading、re-waiting :(

Sad T_T

 

 

1
1 comment

Hello!

It's better to provide your feedback in the corresponding issue in the tracker which was listed in the mentioned forum thread -  https://youtrack.jetbrains.com/issue/CPP-1749.

0

Please sign in to leave a comment.