View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012110CMakeCMakepublic2011-04-20 06:282011-09-12 17:09
Reporteroreja80 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformFedoraOSLinuxOS Version14
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012110: CodeBlocks project with full paths
DescriptionI 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 Reproducerun 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 InformationI 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.
TagsNo tags attached.
Attached Files

 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

 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


Copyright © 2000 - 2018 MantisBT Team