Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2250

CMake excludes subproject CMakeLists.txt when they are in sibling paths.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 2.0.1
    • None
    • Mac OS X 10.6.4

      Ordinarily a CMakeLists.txt is situated at the root of a project, however when using a horizontal code sharing structure the root CMakeLists.txt can often be defined in a sibling tree.

      e.g.

      /some_app/CMakeLists.txt
      /some_app/src/

      /some_dependancy/CMakeLists.txt
      /some_dependancy/src/

      where /some_app/CMakeLists.txt has the dependancy defined as :

      ADD_SUBDIRECTORY(../some_dependancy some_dependancy_build_dir)

      In this case, the dependancy's CMakeLists.txt doesn't appear in Creator's project tree meaning it needs to be edited externally.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dt Daniel Teske
            llamatron llamatron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes