Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 1.3.85 (2.0.0-rc1)
-
None
Description
I have a CMake-based project with several CMakeLists.txt. The main one is placed in the top and used for project configuration (targets, libs, ...), but doesn't actually include any source files, only another low-level CMakeLists.txt. The low-level CMakeLists.txt is the lists of source files. So, the problem is when you add a new file to the project, you must change one of the low-level CMakeLists.txt, not the top-one. After adding you need to reconfigure the project, but there is no straightforward way to do this. The workaround is to formally edit the top-level CMakeLists.txt or formally change the build directory. I would like to have a more intuitive way to reconfigure CMake-project, like a big cool button