MantisBT - CMake
View Issue Details
0014285CMakeCMakepublic2013-07-10 12:332016-06-10 14:31
Neil Darlow 
Kitware Robot 
normalfeaturealways
closedmoved 
CMake 2.8.11.2 
 
0014285: Codeblocks generator needs to be more friendly towards project file.
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.
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
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
No tags attached.
Issue History
2013-07-10 12:33Neil DarlowNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042317
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042317)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.