Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-248

Subordinate CMakeLists.txt files should not build on their own

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • proton-0.4
    • None
    • proton-c, proton-j
    • None
    • Windows, perhaps all.

    Description

      If CMake is pointed to the wrong (subordinate, instead of top level) directory, the CMakeLists.txt file should detect the problem and exit with a clear error message instead of generating a bogus build accompanied by a vague warning.

      To reproduce:

      cd trunk\proton-c
      mkdir build
      cd build
      cmake [args] ..
      [build away]

      In which case cmake uses trunk/proton-c/CMakeLists.txt as the top level instead of trunk/CMakeLists.txt.

      Attachments

        Activity

          People

            cliffjansen Clifford Jansen
            cliffjansen Clifford Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: