You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Cliff Jansen (JIRA)" <ji...@apache.org> on 2013/02/22 07:48:14 UTC

[jira] [Created] (PROTON-248) Subordinate CMakeLists.txt files should not build on their own

Cliff Jansen created PROTON-248:
-----------------------------------

             Summary: Subordinate CMakeLists.txt files should not build on their own
                 Key: PROTON-248
                 URL: https://issues.apache.org/jira/browse/PROTON-248
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c, proton-j
    Affects Versions: 0.4
         Environment: Windows, perhaps all.
            Reporter: Cliff Jansen
            Assignee: Cliff Jansen


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira