MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014722 | CMake | (No Category) | public | 2014-01-27 15:40 | 2016-04-17 15:46 |
| Reporter | Felix Schwitzer | ||||
| Assigned To | Alex Neundorf | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | ubuntu 13.10 | OS | Linux | OS Version | |
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0014722: eclipse generator creates invalid .cproject file | ||||
| Description | When in a project 'find_package(Qt4)' is used, the generated .cproject file is invalid. After opening such a project in eclipse via 'File->import...->existing projects into workspace' eclipse reports repeatedly [Fatal Error] :24:30: The value of attribute "name" associated with an element type "null" must not contain the '<' character. slowing down eclipse and filling the terminal from which I started eclipse with garbage. | ||||
| Steps To Reproduce | Minimal CMakeLists.txt in ~/src: cmake_minimum_required(VERSION 2.8.11) project(ttt) find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) Generate the project with cmake -G"Eclipse CDT4 - Unix Makefiles" ../src in ~/build and import it into eclipse, started from a terminal to see the output | ||||
| Additional Information | This only happens if 'include(${QT_USE_FILE})' is present in the CMakeLists.txt the invalid line in .cproject looks like <pathentry kind="mac" name="$<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>" path="" value=""/> and a xml-editor reports an error (I use emacs with nXML-mode) The error is preesent in the actual master-branch. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-01-27 15:40 | Felix Schwitzer | New Issue | |||
| 2014-01-27 15:57 | Alex Neundorf | Assigned To | => Alex Neundorf | ||
| 2014-01-27 15:57 | Alex Neundorf | Status | new => assigned | ||
| 2015-04-16 15:50 | Felix Schwitzer | Note Added: 0038535 | |||
| 2016-04-17 15:46 | Alex Neundorf | Note Added: 0040875 | |||
| 2016-04-17 15:46 | Alex Neundorf | Status | assigned => closed | ||
| 2016-04-17 15:46 | Alex Neundorf | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||