-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 3.4.0-rc1
-
None
-
Every platform where QtCreator runs.
When importing a CMake project the user is directed to select the top level CMakeLists.txt file from their project. QtCreator then runs cmake to generate code blocks files (.cbp) for the project. When QtCreator parses the top level .cbp file to gather project information only the top level .cbp file is used. On projects that have multiple "project()" declarations in them once .cbp file will be produced for each "project()" cmake call. These other .cbp files will be in other subdirectories most likely. These sub .cpb files will have all the necessary target information for each library or application being built. QtCreator should be able to parse all of these files in order to properly build its C++ code model with all "project parts" accounted for. Attached is a small CMake project the shows the generation of these multiple .cbp files.