在QtCreator中打开我公司的cmake项目后,每个源文件在项目视图中列出4次,如下所示:
MyProject
CMakeLists.txt
SubProj1
CMakeLists.txt
CMakeLists.txt
CMakeLists.txt
CMakeLists.txt
SourceFile1.cpp
SourceFile1.cpp
SourceFile1.cpp
SourceFile1.cpp
SubProj2
CMakeLists.txt
CMakeLists.txt
CMakeLists.txt
CMakeLists.txt
SourceFile2.cpp
SourceFile2.cpp
SourceFile2.cpp
SourceFile2.cpp
等
为什么会发生以及如何解决?谢谢!