MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013358 | CMake | CMake | public | 2012-06-28 05:41 | 2012-10-24 17:24 |
| Reporter | muhkuh | ||||
| Assigned To | Alex Neundorf | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | win32 | OS | Windows | OS Version | 7 |
| Product Version | CMake 2.8.8 | ||||
| Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||
| Summary | 0013358: Error importing generated Eclipse project with LIBRARY_OUTPUT_PATH set to ${CMAKE_CURRENT_BINARY_DIR} | ||||
| Description | Setting LIBRARY_OUTPUT_PATH to the current binary directory in a CMakeLists.txt and using it with the "Eclipse CDT4 - MinGW Makefiles" generator creates an Eclipse project that causes an error when being imported into an eclipse workspace. | ||||
| Steps To Reproduce | 1. Create CMakeLists.txt containing these two lines: SET (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) PROJECT ( Test ) 2. Use the "Eclipse CDT4 - MinGW Makefiles" generator of cmake to create an Eclipse project. It doesn't matter if an in source or out of source build is done. For example CMakeLists.txt can reside in C:\TestProject\src and the Eclipse project is created at C:\TestProject\build. 3. Import this project into an eclipse workspace. An error message appears: "Error processing changed links in project description file." "Cannot create a link to C:\TestProject\build because it overlaps the locations of the project that contains the linked resource." | ||||
| Additional Information | After removing the line that sets LIBRARY_OUTPUT_PATH the generated project can be imported without errors. Fortunately eclipse imports the generated project despite of the error message. It's just quite annoying. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-06-28 05:41 | muhkuh | New Issue | |||
| 2012-07-27 16:33 | Alex Neundorf | Assigned To | => Alex Neundorf | ||
| 2012-07-27 16:33 | Alex Neundorf | Status | new => assigned | ||
| 2012-07-28 07:57 | Alex Neundorf | Note Added: 0030144 | |||
| 2012-07-28 12:44 | Alex Neundorf | Note Added: 0030145 | |||
| 2012-08-02 15:59 | Alex Neundorf | Note Edited: 0030145 | bug_revision_view_page.php?bugnote_id=30145#r759 | ||
| 2012-08-03 16:20 | Alex Neundorf | Note Added: 0030168 | |||
| 2012-08-03 16:20 | Alex Neundorf | Status | assigned => closed | ||
| 2012-08-03 16:20 | Alex Neundorf | Resolution | open => fixed | ||
| 2012-10-24 17:24 | David Cole | Fixed in Version | => CMake 2.8.10 | ||
| 2012-10-24 17:24 | David Cole | Target Version | => CMake 2.8.10 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||