[cmake-developers] [CMake 0014285]: Codeblocks generator needs to be more friendly towards project file.

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 10 12:33:29 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14285 
====================================================================== 
Reported By:                Neil Darlow
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14285
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-10 12:33 EDT
Last Modified:              2013-07-10 12:33 EDT
====================================================================== 
Summary:                    Codeblocks generator needs to be more friendly
towards project file.
Description: 
The CMake Codeblocks generator is a great tool but it appears to assume
ownership of the generated project file.

It is common for Codeblocks plugins (e.g. Doxyblocks and wxSmith) to insert
content into the project file. This information needs to be preserved when e.g.
CMake-gui regenerates the cache.

At present it appears that the project file is completely rewritten when
CMake-gui performs a cache regenerate operation.

Steps to Reproduce: 
1. Create e.g. a Codeblocks - MinGW Makefiles project with CMake-gui
2. Open the project in Codeblocks and add some content with wxSmith plugin
3. If you wish, build the project
4. Close the Project
5. Regenerate the CMake cache with CMake-gui
6. Open the project in Codeblocks and notice that wxSmith added resources are no
longer present in the project tree

Additional Information: 
I am using CMake-2.8.11.2 under Windows with Codeblocks-12.11
Although I specified Codeblocks - MinGW Makefiles I suspect it might affect
other Codeblocks generator features
I have reverted to using the MinGW Makefiles generator to ensure that my
Codeblocks project file customisations are kept
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-10 12:33 Neil Darlow    New Issue                                    
======================================================================




More information about the cmake-developers mailing list