Skip to content
  • Tobias Hunger's avatar
    CMake: Make sure top level CMakeLists.txt file is listed exactly once · a7cbae1e
    Tobias Hunger authored
    
    
    The toplevel CMakeLists.txt file should always be visible in the project tree,
    otherwise there is no way to fix problems that stop creator from reading the
    project structure.
    
    Since the cmake configuration may add that file itself, creator needs to
    check before adding that file. All other files are taken straight from
    cmake, which makes sure they are unique.
    
    See the minimal project attached to QTCREATORBUG-16671 for an example
    triggering this issue.
    
    Change-Id: Iff3e307134b023e6955f47657e998a5981b03da0
    Reviewed-by: default avatarEike Ziller <eike.ziller@qt.io>
    a7cbae1e