View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012110 | CMake | CMake | public | 2011-04-20 06:28 | 2011-09-12 17:09 | ||||
Reporter | oreja80 | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Fedora | OS | Linux | OS Version | 14 | ||||
Product Version | CMake 2.8.4 | ||||||||
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | ||||||
Summary | 0012110: CodeBlocks project with full paths | ||||||||
Description | I noticed that when switching from cmake 2.8.2 to 2.8.4, C::B projects show the full tree (from / on Linux) instead of starting from the project base. | ||||||||
Steps To Reproduce | run cmake with -G"CodeBlocks - Unix Makefiles" with 2.8.2, open the project to see how it looked. Then replace 2.8.2 -> 2.8.4, run the cmake again, and compare the results. | ||||||||
Additional Information | I have posted this question first to the C::B forum. They replied that the fact that the paths in the xml file .cbp that is generated should be relative paths. After opening the project and clicking save, some of the paths do change to relative, but not all. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0026453) Alex Neundorf (developer) 2011-05-06 17:40 |
I think this was this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9072535f836154c7a87bff4569741b86ccfc297f [^] It has the effect that now also files outside CMAKE_SOURCE_DIR are listed in the project file. Which IIRC has the effect that the common root directory for the actual project and these cmake files coming with cmake is used as root, which will usually be / on Linux. Not sure what to do about this. Not list files which belong to cmake itself ? The generator could recognize whether some path points into its own directory. But I found it actually quite nice to see these files there too. Alex |
(0027124) Alex Neundorf (developer) 2011-07-29 17:35 |
I committed a patch so that now files which are in a subdir of ${CMAKE_ROOT} are not included in the project. This has for me the effect that the files are not displayed with absolute paths anymore. This should be in 2.8.6. Alex |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-04-20 06:28 | oreja80 | New Issue | |
2011-04-20 16:08 | Alex Neundorf | Assigned To | => Alex Neundorf |
2011-04-20 16:08 | Alex Neundorf | Status | new => assigned |
2011-05-06 17:40 | Alex Neundorf | Note Added: 0026453 | |
2011-07-29 17:35 | Alex Neundorf | Note Added: 0027124 | |
2011-07-29 17:35 | Alex Neundorf | Status | assigned => closed |
2011-07-29 17:35 | Alex Neundorf | Resolution | open => fixed |
2011-07-29 17:35 | Alex Neundorf | Fixed in Version | => CMake 2.8.6 |
2011-09-12 17:09 | David Cole | Target Version | => CMake 2.8.6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |